1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00

Fix compilation of the gnome global shortcuts backend when dbus isn't available

This commit is contained in:
David Sansome 2011-10-15 20:49:53 +01:00
parent ce501d982a
commit 4cabb98b43

View File

@ -76,6 +76,7 @@ bool GnomeGlobalShortcutBackend::DoRegister() {
}
void GnomeGlobalShortcutBackend::RegisterFinished(QDBusPendingCallWatcher* watcher) {
#ifdef QT_DBUS_LIB
QDBusMessage reply = watcher->reply();
watcher->deleteLater();
@ -90,6 +91,7 @@ void GnomeGlobalShortcutBackend::RegisterFinished(QDBusPendingCallWatcher* watch
is_connected_ = true;
qLog(Debug) << "registered";
#endif // QT_DBUS_LIB
}
void GnomeGlobalShortcutBackend::DoUnregister() {