diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-12-13 17:08:58 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-13 17:08:58 -0800 |
commit | 9fe458ea2e30a1a9559ec58512decf618fece5f2 (patch) | |
tree | 5b98a7cabbef073d023504bef590f25e7d9025a2 /qt-ui | |
parent | e6c587ad62274f372bde041c3d21fefc0c22faec (diff) | |
download | subsurface-9fe458ea2e30a1a9559ec58512decf618fece5f2.tar.gz |
Enable Marble debug messages from Subsurface command line
Calling Subsurface with -v now gets you debug output. Of course, with a
regular "release" build of Marble you still won't see much. But with the
changes in the special Subsurface-testing branch you actually get some
very useful information when debugging a lack of maps in Marble.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/globe.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 63e868a06..fb549cdd4 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -18,6 +18,7 @@ #include <marble/MarbleDirs.h> #include <marble/MapThemeManager.h> #include <marble/GeoDataLineString.h> +#include <marble/MarbleDebug.h> #if INCOMPLETE_MARBLE #include "marble/GeoDataTreeModel.h" #else @@ -84,6 +85,7 @@ GlobeGPS::GlobeGPS(QWidget *parent) : MarbleWidget(parent), connect(fixZoomTimer, SIGNAL(timeout()), this, SLOT(fixZoom())); fixZoomTimer->setSingleShot(true); installEventFilter(this); + Marble::MarbleDebug::setEnabled(verbose); } bool GlobeGPS::eventFilter(QObject *obj, QEvent *ev) |