summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 12:32:54 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 12:38:23 -0800
commita29e74e2e949696c4ffdefeedad22ae1795f024c (patch)
treecd40641c9adb085682ccc3f9808b5ed5af1a38bf /subsurface-mobile-helper.cpp
parente7b2f04bec19c70bff2324b43c337728f2420aca (diff)
downloadsubsurface-a29e74e2e949696c4ffdefeedad22ae1795f024c.tar.gz
Location service: move location provider into QML manager
Since we want to be able to toggle it from the QML UI that seems like a better place for it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index cbffc7b1d..f7eaca10f 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -19,7 +19,6 @@
#include "qt-models/divelistmodel.h"
#include "qt-mobile/qmlprofile.h"
#include "qt-mobile/gpslocation.h"
-GpsLocation *locationProvider;
QObject *qqWindowObject = NULL;
@@ -54,7 +53,6 @@ void run_ui()
qml_window->setHeight(1200);
qml_window->setWidth(800);
#endif
- locationProvider = new GpsLocation(qml_window);
qml_window->show();
qApp->exec();
}