X-Git-Url: http://git.maemo.org/git/?p=gpsdata;a=blobdiff_plain;f=src%2Fcompass.h;h=8462564f8b1dd1022371b7bc1aa2b9cef774eb12;hp=f30ea823fbbea6424b0f71e3ea390025ce5b5a35;hb=f02b43801b7bcb1d5fc6fe70f64c19f008da45b6;hpb=b1c6b2306e7d8eec162162664f867335db1281ca diff --git a/src/compass.h b/src/compass.h index f30ea82..8462564 100644 --- a/src/compass.h +++ b/src/compass.h @@ -20,17 +20,17 @@ #ifndef COMPASS_H #define COMPASS_H -#ifdef QT_NO_OPENGL -#include +#ifndef QT_NO_OPENGL +# include #else -#include +# include #endif #include -#ifdef QT_NO_OPENGL -class Compass : public QWidget -#else +#ifndef QT_NO_OPENGL class Compass : public QGLWidget +#else +class Compass : public QWidget #endif { Q_OBJECT