From ec7a87814964063fb2737d148913ea27b4e78607 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 4 Oct 2017 08:45:50 -0700 Subject: QML UI: avoid warning before currentTheme is set Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-70-g09d2