Stop unregistering org.kde.kwin dbus service

We don't use KApplication.
This commit is contained in:
Vlad Zahorodnii 2022-07-19 10:20:06 +03:00
parent 7d05cb7d79
commit c414efc353

View file

@ -58,8 +58,6 @@ DBusInterface::DBusInterface(QObject *parent)
DBusInterface::~DBusInterface() DBusInterface::~DBusInterface()
{ {
QDBusConnection::sessionBus().unregisterService(m_serviceName); 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 // wrap void methods with no arguments to Workspace