Mac build fixes
This commit is contained in:
parent
cc2c7b53cc
commit
11bd9966d1
|
@ -116,3 +116,7 @@ void OSD::ShowMessage(const QString& summary,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef Q_WS_X11
|
||||||
|
void OSD::CallFinished(QDBusPendingCallWatcher*) {}
|
||||||
|
#endif
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
|
|
||||||
class OSDPretty;
|
class OSDPretty;
|
||||||
|
|
||||||
|
class QDBusPendingCallWatcher;
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
#include <QDBusArgument>
|
#include <QDBusArgument>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
@ -95,9 +97,9 @@ class OSD : public QObject {
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
boost::scoped_ptr<org::freedesktop::Notifications> interface_;
|
boost::scoped_ptr<org::freedesktop::Notifications> interface_;
|
||||||
|
#endif
|
||||||
private slots:
|
private slots:
|
||||||
void CallFinished(QDBusPendingCallWatcher* watcher);
|
void CallFinished(QDBusPendingCallWatcher* watcher);
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OSD_H
|
#endif // OSD_H
|
||||||
|
|
Loading…
Reference in New Issue