diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-02-05 22:54:47 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-02-05 22:54:47 -0800 |
commit | a4ec5206017b668842d2b9b317300b94dcb43057 (patch) | |
tree | 1adb3927c00ad39336b21da2f300cdbcae6b877f /qt-mobile/qmlmanager.h | |
parent | ad7fb80d0ac874e55ce91e5845f85aa12906941f (diff) | |
download | subsurface-a4ec5206017b668842d2b9b317300b94dcb43057.tar.gz |
QML UI: enable editing of weight
But only if there is only one weight system defined in the dive. Otherwise
display a read only text that explains that this cannot be edited.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qmlmanager.h')
-rw-r--r-- | qt-mobile/qmlmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.h b/qt-mobile/qmlmanager.h index bb8bb693d..0f43f473c 100644 --- a/qt-mobile/qmlmanager.h +++ b/qt-mobile/qmlmanager.h @@ -70,10 +70,10 @@ public slots: void loadDivesWithValidCredentials(); void loadDiveProgress(int percent); void provideAuth(QNetworkReply *reply, QAuthenticator *auth); - QString commitChanges(QString diveId,QString date, QString location, + QString commitChanges(QString diveId, QString date, QString location, QString gps, QString duration, QString depth, QString airtemp, QString watertemp, QString suit, - QString buddy, QString diveMaster, QString notes); + QString buddy, QString diveMaster, QString weight, QString notes); void saveChanges(); QString addDive(); |