Improve CMake files (#460)

This commit is contained in:
Jonas Kvinge
2020-06-17 22:56:20 +02:00
committed by GitHub
parent 64f0313d3c
commit 3b58c02db0
16 changed files with 419 additions and 301 deletions

View File

@@ -98,9 +98,8 @@ class OSD : public QObject {
private slots:
#ifdef HAVE_DBUS
void CallFinished(QDBusPendingCallWatcher *watcher);
#else
void CallFinished();
#endif
void CallFinished();
void AlbumCoverLoaded(const Song &song, const QUrl &cover_url, const QImage &image);
private:

View File

@@ -184,6 +184,6 @@ void OSD::CallFinished(QDBusPendingCallWatcher *watcher) {
last_notification_time_ = QDateTime::currentDateTime();
}
}
#else
void OSD::CallFinished() {}
#endif
void OSD::CallFinished() {}