diff --git a/src/osd.cpp b/src/osd.cpp index 9f6cdf596..d11fa50e3 100644 --- a/src/osd.cpp +++ b/src/osd.cpp @@ -116,3 +116,7 @@ void OSD::ShowMessage(const QString& summary, break; } } + +#ifndef Q_WS_X11 +void OSD::CallFinished(QDBusPendingCallWatcher*) {} +#endif diff --git a/src/osd.h b/src/osd.h index 8794fbf1e..554a01219 100644 --- a/src/osd.h +++ b/src/osd.h @@ -26,6 +26,8 @@ class OSDPretty; +class QDBusPendingCallWatcher; + #ifdef Q_WS_X11 #include #include @@ -95,9 +97,9 @@ class OSD : public QObject { #ifdef Q_WS_X11 boost::scoped_ptr interface_; +#endif private slots: void CallFinished(QDBusPendingCallWatcher* watcher); -#endif }; #endif // OSD_H