mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
Only setup marble debug output when comiling against our branch
Otherwise this might break the compile. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da16258d61
commit
bceff788fb
1 changed files with 5 additions and 1 deletions
|
@ -41,6 +41,11 @@ GlobeGPS::GlobeGPS(QWidget *parent) : MarbleWidget(parent),
|
|||
needResetZoom(false),
|
||||
editingDiveLocation(false)
|
||||
{
|
||||
#ifdef MARBLE_SUBSURFACE_BRANCH
|
||||
// we need to make sure this gets called after the command line arguments have
|
||||
// been processed but before we initialize the rest of Marble
|
||||
Marble::MarbleDebug::setEnabled(verbose);
|
||||
#endif
|
||||
// check if Google Sat Maps are installed
|
||||
// if not, check if they are in a known location
|
||||
MapThemeManager mtm;
|
||||
|
@ -85,7 +90,6 @@ 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