*
authorElias Woods <EliasWoods@gmail.com>
Tue, 11 Jan 2011 02:48:28 +0000 (21:48 -0500)
committerElias Woods <EliasWoods@gmail.com>
Tue, 11 Jan 2011 02:48:28 +0000 (21:48 -0500)
qmaemo5rotator.cpp
qmaemo5rotator.h

index b1e2adc..cce27be 100644 (file)
@@ -1,4 +1,3 @@
-
 #include "qmaemo5rotator.h"
 #if defined(Q_WS_MAEMO_5) || defined(Q_WS_HILDON)
 #include <mce/dbus-names.h>
@@ -100,13 +99,6 @@ void QMaemo5Rotator::on_orientation_changed(const QString& newOrientation)
     }
     QApplication::desktop()->updateGeometry();
 }
-
-
-
-
-
-
-
 static bool QMaemo5Rotator::setRotation(direction dir)
 {
     Rotation rotation = dir;
index 36ddd57..eefd2f0 100644 (file)
@@ -3,11 +3,12 @@
 //----------
 // Provides a means of WORKING automatic rotation for Maemo 5 apps. (The default Qt solution is buggy.)
 //----------
-#include <X11/extensions/Xrandr.h>
-#include <X11/Xlib.h>
+
 #include <Qt>
 #include <QtGui>
 #include <QtCore>
+#include <X11/extensions/Xrandr.h>
+#include <X11/Xlib.h>
 
 class QMaemo5Rotator : private QObject
 {