aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-27 10:32:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 01:16:23 +0900
commit69f06f704387d8f7c7c9330950843bc6d9ba2e9c (patch)
tree6c674e720087b243ef95cd572df80b0a8cc0f26c
parent56d959f733c5d762617a2b4665524f4f77eb82f2 (diff)
downloadsubsurface-69f06f704387d8f7c7c9330950843bc6d9ba2e9c.tar.gz
mobile: small whitespace cleanup
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/main.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 07180ee90..c779423f0 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -165,7 +165,7 @@ Kirigami.ApplicationWindow {
height: rootItem.height
rightPadding: 0
enabled: (prefs.credentialStatus === CloudStatus.CS_NOCLOUD ||
- prefs.credentialStatus === CloudStatus.CS_VERIFIED)
+ prefs.credentialStatus === CloudStatus.CS_VERIFIED)
topContent: Image {
source: "qrc:/qml/icons/dive.jpg"
Layout.fillWidth: true
@@ -276,7 +276,7 @@ Kirigami.ApplicationWindow {
}
text: qsTr("Add dive manually")
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
- prefs.credentialStatus === CloudStatus.CS_NOCLOUD
+ prefs.credentialStatus === CloudStatus.CS_NOCLOUD
onTriggered: {
globalDrawer.close()
returnTopPage() // otherwise odd things happen with the page stack
@@ -322,7 +322,7 @@ Kirigami.ApplicationWindow {
}
text: qsTr("Manual sync with cloud")
enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED ||
- prefs.credentialStatus === CloudStatus.CS_NOCLOUD
+ prefs.credentialStatus === CloudStatus.CS_NOCLOUD
onTriggered: {
if (prefs.credentialStatus === CloudStatus.CS_NOCLOUD) {
returnTopPage()
@@ -774,8 +774,8 @@ if you have network connectivity and want to sync your data to cloud storage."),
manager.appendTextToLog("pageStack forced back to map")
}
} else if (pageStack.currentItem.objectName !== mapPage.objectName &&
- pageStack.lastItem.objectName === mapPage.objectName &&
- hackToOpenMap === 1 /* MapSelected */) {
+ pageStack.lastItem.objectName === mapPage.objectName &&
+ hackToOpenMap === 1 /* MapSelected */) {
// if we just picked the mapPage and are suddenly back on a different page
// force things back to the mapPage
manager.appendTextToLog("pageStack wrong page, switching back to map")