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:
parent
ce501d982a
commit
4cabb98b43
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user