summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-06-06 09:57:57 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-06-07 19:47:52 -0700
commite00e72d430b60f8b446d295f0aa7c19f91b82fea (patch)
tree995fc8067b28a9f3c595e6679f4f31a84f2d8265 /mobile-widgets/qml/main.qml
parent208d46d58e5989c40a70b76ee568b149c622bf12 (diff)
downloadsubsurface-e00e72d430b60f8b446d295f0aa7c19f91b82fea.tar.gz
mobile: add option to merge local cloud cache data
The UI is ugly, and of course this is hidden in the developer options that have to first be enabled in the advanced settings. As I mentioned in the previous commit, I believe the actual risk that something gets damaged here is very low, but still, explaining this so it makes sense to the casual user may be a bit... difficult. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r--mobile-widgets/qml/main.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 848c2f289..92ee7e075 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -534,6 +534,14 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
}
+ Kirigami.Action {
+ text: qsTr("Access local cloud cache dirs")
+ onTriggered: {
+ globalDrawer.close()
+ showPage(recoverCache)
+ }
+ }
+
/* disable for now
Kirigami.Action {
text: qsTr("Dive planner")
@@ -822,6 +830,12 @@ if you have network connectivity and want to sync your data to cloud storage."),
id: mapPage
visible: false
}
+
+ RecoverCache {
+ id: recoverCache
+ visible: false
+ }
+
/* this shouldn't be exposed unless someone will finish the work
DivePlannerSetup {
id: divePlannerSetupWindow