summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2016-08-30 16:24:19 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-04 07:36:13 -0700
commit674d8331f5c15a8c3095afd1deca2b087fd82464 (patch)
treedefca414c3ca03c51b8dd65840b1d5ba6dedf963 /mobile-widgets/qmlmanager.h
parent7b3665827a3fdf6717be5419b41641d8e2d95c93 (diff)
downloadsubsurface-674d8331f5c15a8c3095afd1deca2b087fd82464.tar.gz
QML UI: Enable cylinder edit
This adds the option to select a cylinder when adding or editing a dive. Due to limited screen size we restrict the editing to the first cylinder only. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index b7be359ed..8c5b02fa1 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -124,11 +124,11 @@ public slots:
void loadDivesWithValidCredentials();
void loadDiveProgress(int percent);
void provideAuth(QNetworkReply *reply, QAuthenticator *auth);
- void commitChanges(QString diveId, QString date, QString location,
- QString gps, QString duration, QString depth,
- QString airtemp, QString watertemp, QString suit,
- QString buddy, QString diveMaster, QString weight, QString notes,
- QString startpressure, QString endpressure, QString gasmix);
+ void commitChanges(QString diveId, QString date, QString location, QString gps,
+ QString duration, QString depth, QString airtemp,
+ QString watertemp, QString suit, QString buddy,
+ QString diveMaster, QString weight, QString notes, QString startpressure,
+ QString endpressure, QString gasmix, QString cylinder);
void changesNeedSaving();
void saveChangesLocal();
void saveChangesCloud(bool forceRemoteSync);