projects
/
gpsdata
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed build for Symbian target.
[gpsdata]
/
src
/
compass.h
diff --git
a/src/compass.h
b/src/compass.h
index
f30ea82
..
8462564
100644
(file)
--- a/
src/compass.h
+++ b/
src/compass.h
@@
-20,17
+20,17
@@
#ifndef COMPASS_H
#define COMPASS_H
#ifndef COMPASS_H
#define COMPASS_H
-#ifdef QT_NO_OPENGL
-#include <QWidget>
+#ifndef QT_NO_OPENGL
+# include <QGLWidget>
#else
#else
-#include <QGLWidget>
+# include <QWidget>
#endif
#include <QTimer>
#endif
#include <QTimer>
-#ifdef QT_NO_OPENGL
-class Compass : public QWidget
-#else
+#ifndef QT_NO_OPENGL
class Compass : public QGLWidget
class Compass : public QGLWidget
+#else
+class Compass : public QWidget
#endif
{
Q_OBJECT
#endif
{
Q_OBJECT