Location service: apply the saved GPS fixes to dive list
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5873a08197
commit
4b39971978
@ -79,6 +79,13 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: "Apply GPS data to dives"
|
||||
onTriggered: {
|
||||
manager.applyGpsData();
|
||||
}
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
text: "View Log"
|
||||
onTriggered: {
|
||||
|
||||
@ -147,6 +147,11 @@ void QMLManager::addDive()
|
||||
DiveListModel::instance()->startAddDive();
|
||||
}
|
||||
|
||||
void QMLManager::applyGpsData()
|
||||
{
|
||||
locationProvider->applyLocations();
|
||||
}
|
||||
|
||||
QString QMLManager::logText() const
|
||||
{
|
||||
return m_logText;
|
||||
|
||||
@ -42,6 +42,7 @@ public slots:
|
||||
void commitChanges(QString diveId, QString suit, QString buddy, QString diveMaster, QString notes);
|
||||
void saveChanges();
|
||||
void addDive();
|
||||
void applyGpsData();
|
||||
|
||||
private:
|
||||
QString m_cloudUserName;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user