X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FStatusArea.qml;h=4a8fbc0ae6e9acc160b3438c5c20548a049b23df;hb=refs%2Ftags%2Flamprey_12.1.16;hp=d2e0930f8e84cc3a4fbd5a569d01d5b6e115020e;hpb=42fe4411428f81427ce8993886e28504012219d2;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml index d2e0930..4a8fbc0 100644 --- a/homescreen/qml/StatusArea.qml +++ b/homescreen/qml/StatusArea.qml @@ -22,8 +22,8 @@ import HomeScreen 1.0 Item { id: root - width: 295 - height: 218 + //width: 295 + //height: 216 property date now: new Date Timer { @@ -37,13 +37,13 @@ Item { onConditionChanged: { var icon = '' - if (condition.indexOf("clouds") != -1) { + if (condition.indexOf("clouds") !== -1) { icon = "WeatherIcons_Cloudy-01.png" - } else if (condition.indexOf("thunderstorm") != -1) { + } else if (condition.indexOf("thunderstorm") !== -1) { icon = "WeatherIcons_Thunderstorm-01.png" - } else if (condition.indexOf("snow") != -1) { + } else if (condition.indexOf("snow") !== -1) { icon = "WeatherIcons_Snow-01.png" - } else if (condition.indexOf("rain") != -1) { + } else if (condition.indexOf("rain") !== -1) { icon = "WeatherIcons_Rain-01.png" }