summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 10:52:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-11 12:37:40 -0800
commit12a6a8f2b3afe4c6376b874f609be933ed5dbe5c (patch)
tree806621df5324f625a078b0f35e7105ee274f6220 /subsurface-mobile-helper.cpp
parent136b87e7c00b79ba8ee316ecf66dbc326e78c823 (diff)
downloadsubsurface-12a6a8f2b3afe4c6376b874f609be933ed5dbe5c.tar.gz
Location service: request position update
Mostly still just experimental code - now it tries to get an actual position. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index e982760f8..0643ae9e0 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -18,6 +18,8 @@
#include "qt-mobile/qmlmanager.h"
#include "qt-models/divelistmodel.h"
#include "qt-mobile/qmlprofile.h"
+#include "gpslocation.h"
+GpsLocation *locationProvider;
QObject *qqWindowObject = NULL;
@@ -52,6 +54,7 @@ void run_ui()
qml_window->setHeight(1200);
qml_window->setWidth(800);
#endif
+ locationProvider = new GpsLocation(qml_window);
qml_window->show();
qApp->exec();
}