mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
e6c587ad62
commit
9fe458ea2e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue