mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 10:48:33 +01:00
Mac build fixes
This commit is contained in:
parent
cc2c7b53cc
commit
11bd9966d1
@ -116,3 +116,7 @@ void OSD::ShowMessage(const QString& summary,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef Q_WS_X11
|
||||
void OSD::CallFinished(QDBusPendingCallWatcher*) {}
|
||||
#endif
|
||||
|
@ -26,6 +26,8 @@
|
||||
|
||||
class OSDPretty;
|
||||
|
||||
class QDBusPendingCallWatcher;
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
#include <QDBusArgument>
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
@ -95,9 +97,9 @@ class OSD : public QObject {
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
boost::scoped_ptr<org::freedesktop::Notifications> interface_;
|
||||
#endif
|
||||
private slots:
|
||||
void CallFinished(QDBusPendingCallWatcher* watcher);
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // OSD_H
|
||||
|
Loading…
Reference in New Issue
Block a user