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>
This commit is contained in:
Dirk Hohndel 2015-11-11 12:32:54 -08:00
parent e7b2f04bec
commit a29e74e2e9
4 changed files with 6 additions and 4 deletions

View file

@ -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();
}