summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-04 08:45:50 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-04 17:08:58 -0700
commitec7a87814964063fb2737d148913ea27b4e78607 (patch)
tree4ef748034fd8d63a66b0278c78e7994d151199d9 /mobile-widgets
parentb4b3864f50c28f90f9efaaaf4598015845ef35bf (diff)
downloadsubsurface-ec7a87814964063fb2737d148913ea27b4e78607.tar.gz
QML UI: avoid warning before currentTheme is set
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 72e475a32..02c81f376 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -279,7 +279,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
}
] // end actions
Kirigami.Icon {
- source: "icons/" + subsurfaceTheme.currentTheme + "_gps.svg"
+ source: "icons/" + (subsurfaceTheme.currentTheme != "" ? subsurfaceTheme.currentTheme : "Blue") + "_gps.svg"
enabled: false
visible: locationServiceEnabled
}