summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml12
-rw-r--r--mobile-widgets/qml/mobile-resources.qrc1
2 files changed, 13 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index d04f2cba3..c4a6a99d6 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -154,6 +154,13 @@ Kirigami.ApplicationWindow {
}
}
Kirigami.Action {
+ text: qsTr("Download from DC")
+ enabled: true
+ onTriggered: {
+ stackView.push(downloadFromDc)
+ }
+ }
+ Kirigami.Action {
text: qsTr("Manual sync with cloud")
enabled: manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL || manager.credentialStatus === QMLManager.NOCLOUD
onTriggered: {
@@ -353,6 +360,11 @@ Kirigami.ApplicationWindow {
visible: false
}
+ DownloadFromDiveComputer {
+ id: downloadFromDc
+ visible: false
+ }
+
ThemeTest {
id: themetest
visible: false
diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
index 4195ab3ef..f91d3bd45 100644
--- a/mobile-widgets/qml/mobile-resources.qrc
+++ b/mobile-widgets/qml/mobile-resources.qrc
@@ -8,6 +8,7 @@
<file>DiveDetails.qml</file>
<file>DiveDetailsEdit.qml</file>
<file>DiveDetailsView.qml</file>
+ <file>DownloadFromDiveComputer.qml</file>
<file>GpsList.qml</file>
<file>HintsTextEdit.qml</file>
<file>Log.qml</file>