Oops. Maemo fix.

This commit is contained in:
Sacha 2014-01-06 10:41:53 +10:00
parent e3a1ecf8a4
commit 469088b162
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
*
*/
// Qt 4.7+ / 5.0+ implementation of the framework.
// Currently supports: Symbian, Blackberry, Meego, Linux, Windows, Mac OSX
// Currently supports: Symbian, Blackberry, Maemo/Meego, Linux, Windows, Mac OSX
#include <QApplication>
#include <QUrl>

View File

@ -45,7 +45,7 @@ public:
#if QT_VERSION < 0x50000
setAttribute(Qt::WA_LockLandscapeOrientation);
#endif
#if defined(USING_GLES2) || defined(MAEMO)
#if defined(USING_GLES2) && !defined(MAEMO)
acc = new QAccelerometer(this);
acc->start();
#endif
@ -54,7 +54,7 @@ public:
startTimer(16);
}
~MainUI() {
#if defined(USING_GLES2) || defined(MAEMO)
#if defined(USING_GLES2) && !defined(MAEMO)
delete acc;
#endif
NativeShutdownGraphics();