Fix dbus compile without X11

This commit is contained in:
Jonas Kvinge
2018-07-03 20:32:28 +02:00
parent a00b8b2dca
commit 602f9759bb
5 changed files with 10 additions and 4 deletions

View File

@@ -240,7 +240,7 @@ void OSD::ShowMessage(const QString &summary, const QString &message, const QStr
}
}
#ifndef HAVE_DBUS
#if !defined(HAVE_X11) && defined(HAVE_DBUS)
void OSD::CallFinished(QDBusPendingCallWatcher*) {}
#endif