diff --git a/autotests/integration/maximize_test.cpp b/autotests/integration/maximize_test.cpp index b76f3a8043..b3e39e0d06 100644 --- a/autotests/integration/maximize_test.cpp +++ b/autotests/integration/maximize_test.cpp @@ -174,7 +174,6 @@ void TestMaximized::testInitiallyMaximized() QCOMPARE(client->geometry(), QRect(0, 0, 100, 50)); QEXPECT_FAIL("", "Should go out of maximzied", Continue); QCOMPARE(client->maximizeMode(), MaximizeMode::MaximizeRestore); - QVERIFY(client->shellSurface()->isMaximized()); } void TestMaximized::testBorderlessMaximizedWindow() diff --git a/shell_client.h b/shell_client.h index 4b8655ab13..45b9b66170 100644 --- a/shell_client.h +++ b/shell_client.h @@ -69,10 +69,6 @@ public: void setOpacity(double opacity) override; QByteArray windowRole() const override; - KWayland::Server::ShellSurfaceInterface *shellSurface() const { - return m_shellSurface; - } - void blockActivityUpdates(bool b = true) override; QString captionNormal() const override { return m_caption;