summaryrefslogtreecommitdiff
path: root/platform/qt/app/mapwindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qt/app/mapwindow.hpp')
-rw-r--r--platform/qt/app/mapwindow.hpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/platform/qt/app/mapwindow.hpp b/platform/qt/app/mapwindow.hpp
index 6c05f03562..0671c42518 100644
--- a/platform/qt/app/mapwindow.hpp
+++ b/platform/qt/app/mapwindow.hpp
@@ -3,27 +3,16 @@
#include <QMapboxGL>
-#include <QtGlobal>
-
-// XXX http://stackoverflow.com/questions/24899558/how-to-check-qt-version-to-include-different-header#comment59591604_29887388
-#if QT_VERSION >= 0x050400
#include <QOpenGLWidget>
-#else
-#include <QGLWidget>
-#endif // QT_VERSION
-
#include <QPropertyAnimation>
#include <QScopedPointer>
+#include <QtGlobal>
class QKeyEvent;
class QMouseEvent;
class QWheelEvent;
-#if QT_VERSION >= 0x050400
class MapWindow : public QOpenGLWidget
-#else
-class MapWindow : public QGLWidget
-#endif // QT_VERSION
{
Q_OBJECT