QML UI: avoid warning before currentTheme is set

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-10-04 08:45:50 -07:00
parent b4b3864f50
commit ec7a878149

View file

@ -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
}