Do not register dbus service org.kde.kwin.Compositing

Just use org.kde.KWin - there's object and interface to differentiate.
This commit is contained in:
Martin Gräßlin 2014-05-15 08:42:09 +02:00
parent 6e1df6ba62
commit bef0bf8a4f

View file

@ -95,7 +95,6 @@ Compositor::Compositor(QObject* workspace)
new CompositingAdaptor(this);
QDBusConnection dbus = QDBusConnection::sessionBus();
dbus.registerObject(QStringLiteral("/Compositor"), this);
dbus.registerService(QStringLiteral("org.kde.kwin.Compositing"));
dbus.connect(QString(), QStringLiteral("/Compositor"), QStringLiteral("org.kde.kwin.Compositing"),
QStringLiteral("reinit"), this, SLOT(slotReinitialize()));
connect(&unredirectTimer, SIGNAL(timeout()), SLOT(delayedCheckUnredirect()));