diff options
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 0bd8f3d83..014a84a09 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -8,6 +8,7 @@ #include <marble/GeoDataPlacemark.h> #include <marble/GeoDataDocument.h> #include <marble/MarbleModel.h> +#include <marble/MarbleDirs.h> #if INCOMPLETE_MARBLE #include "marble/GeoDataTreeModel.h" #else @@ -18,6 +19,9 @@ GlobeGPS::GlobeGPS(QWidget* parent) : MarbleWidget(parent), loadedDives(0) { + // this will find the Google maps when running from your build directory + // TODO: all the magic to find the install path (and actually install/bundle these files) + MarbleDirs::setMarbleDataPath(QDir("./marbledata").absolutePath()); messageWidget = new KMessageWidget(this); messageWidget->setCloseButtonVisible(false); messageWidget->setHidden(true); |