Minor tweak to the previous bug fix
authorPekka Nissinen <pekka.nissinen@ixonos.com>
Tue, 1 Jun 2010 06:23:16 +0000 (09:23 +0300)
committerPekka Nissinen <pekka.nissinen@ixonos.com>
Tue, 1 Jun 2010 06:23:16 +0000 (09:23 +0300)
src/ui/mainwindow.cpp

index dd21e8a..19b6ea6 100644 (file)
 #include <QtGui>
 #include <QtWebKit>
 
-#ifdef Q_WS_MAEMO_5
-#include <QtMaemo5/QMaemo5InformationBox>
-#endif // Q_WS_MAEMO_5
-
 #include "common.h"
 #include "facebookservice/facebookauthentication.h"
 #include "friendlistpanel.h"
 
 #include "mainwindow.h"
 
-// These MUST BE HERE, compiling fails under scratchbox if moved
+// These MUST BE HERE, compiling for Maemo fails if moved
+#ifdef Q_WS_MAEMO_5
+#include <QtMaemo5/QMaemo5InformationBox>
 #include <QtGui/QX11Info>
-#include <X11/Xlib.h>
 #include <X11/Xatom.h>
+#include <X11/Xlib.h>
+#endif // Q_WS_MAEMO_5
 
 // values for setting screen size in desktop matching N900 screen size
 const int N900_APP_WIDTH = 800;