From 8ce8d9a330571cb512fee6f92a72049d69ee50bd Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 21 Jul 2022 13:18:35 +0300 Subject: [PATCH] Remove Application::isClosingX11Connection() It's unused. --- src/main.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.h b/src/main.h index 952492d8c9..900ec2705c 100644 --- a/src/main.h +++ b/src/main.h @@ -204,14 +204,6 @@ public: void setXwaylandScale(qreal scale); - /** - * Returns @c true if we're in the middle of destroying the X11 connection. - */ - bool isClosingX11Connection() const - { - return m_isClosingX11Connection; - } - #if KWIN_BUILD_ACTIVITIES bool usesKActivities() const { @@ -299,7 +291,6 @@ private: #endif Platform *m_platform = nullptr; bool m_terminating = false; - bool m_isClosingX11Connection = false; qreal m_xwaylandScale = 1; QProcessEnvironment m_processEnvironment; };