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>
This commit is contained in:
Dirk Hohndel 2014-12-13 17:08:58 -08:00
parent e6c587ad62
commit 9fe458ea2e

View file

@ -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)