diff options
author | Grace Karanja <gracie.karanja89@gmail.com> | 2015-07-10 11:31:24 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-10 06:03:56 -0700 |
commit | 866d67c5e7a8194c178b2b7afcdf298371e01516 (patch) | |
tree | ed6a18892c6235c19fd183884ca301b9fb89c184 /qt-mobile/main.qml | |
parent | f01ec470e7b018443fad127a3b3e0f3f862e56e2 (diff) | |
download | subsurface-866d67c5e7a8194c178b2b7afcdf298371e01516.tar.gz |
QML UI: Load dives from cloud
Load dives from the Subsurface cloud service using the user's saved
credentials. This will display the dives in the same way as loading
them from a local file.
Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Diffstat (limited to 'qt-mobile/main.qml')
-rw-r--r-- | qt-mobile/main.qml | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/qt-mobile/main.qml b/qt-mobile/main.qml index d3447a0c7..bf36e8866 100644 --- a/qt-mobile/main.qml +++ b/qt-mobile/main.qml @@ -9,16 +9,6 @@ ApplicationWindow { title: qsTr("Subsurface") width: 500; - FileDialog { - id: fileOpen - selectExisting: true - selectMultiple: true - - onAccepted: { - manager.setFilename(fileUrl) - } - } - QMLManager { id: manager } @@ -48,10 +38,10 @@ ApplicationWindow { } Button { - id: openFile - text: "Open File" + id: loadDivesButton + text: "Load Dives" onClicked: { - fileOpen.open(); + manager.loadDives(); } } } |