From 9fe458ea2e30a1a9559ec58512decf618fece5f2 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 13 Dec 2014 17:08:58 -0800 Subject: 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 --- qt-ui/globe.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qt-ui/globe.cpp') 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 #include #include +#include #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) -- cgit v1.2.3-70-g09d2