Fixed projects to build in Simulator
[situare] / src / application.h
index 0a75f46..e2774a9 100644 (file)
@@ -61,6 +61,7 @@ public:
     void unregisterWindow(WId wId);
 
 private:
+#ifdef Q_WS_X11
     /**
     * @brief Return active window
     *
@@ -70,6 +71,7 @@ private:
     */
     WId activeDesktopWindow(Display *display, WId rootWindow);
 
+
     /**
     * @brief Event filter for window
     *
@@ -78,6 +80,7 @@ private:
     *         Return false for normal event dispatching
     */
     bool x11EventFilter(XEvent *event);
+#endif
 
 /*******************************************************************************
  * SIGNALS