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 #include +// 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)),