diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp index 4ff7c02e74..3256d29aaa 100644 --- a/src/dbusinterface.cpp +++ b/src/dbusinterface.cpp @@ -58,8 +58,6 @@ DBusInterface::DBusInterface(QObject *parent) DBusInterface::~DBusInterface() { QDBusConnection::sessionBus().unregisterService(m_serviceName); - // KApplication automatically also grabs org.kde.kwin, so it's often been used externally - ensure to free it as well - QDBusConnection::sessionBus().unregisterService(QStringLiteral("org.kde.kwin")); } // wrap void methods with no arguments to Workspace