mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
136b87e7c0
commit
12a6a8f2b3
3 changed files with 41 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue