diff options
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/globe.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 8f519cf94..275d7ee85 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -26,6 +26,12 @@ #include <QMouseEvent> #include <QMessageBox> +// as of Marble 4.10 (which has MARBLE_VERSION 0x001000) zoomView is +// deprecated and has been replaced by setZoom with the same function signature +#if MARBLE_VERSION < 0x001000 +#define setZoom zoomView +#endif + GlobeGPS::GlobeGPS(QWidget *parent) : MarbleWidget(parent), loadedDives(0), messageWidget(new KMessageWidget(this)), |