From: Luciano Montanaro Date: Thu, 12 Jan 2012 23:08:03 +0000 (+0100) Subject: use === instead of == X-Git-Tag: tags/0.5.0~23 X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=9ef238a5220af4ee8f701e77ada7d905c12cd1dc;p=quandoparte use === instead of == --- diff --git a/application/resources/harmattan/qml/StationListPage.js b/application/resources/harmattan/qml/StationListPage.js index fb630d2..b5c4046 100644 --- a/application/resources/harmattan/qml/StationListPage.js +++ b/application/resources/harmattan/qml/StationListPage.js @@ -4,7 +4,7 @@ var about = undefined function showAboutPage() { var component = Qt.createComponent("AboutPage.qml") - if (component.status == Component.Ready) { + if (component.status === Component.Ready) { about = component.createObject(stationListPage) pageStack.push(about) } else @@ -14,7 +14,7 @@ function showAboutPage() function loadStation(name) { var component = Qt.createComponent("StationPage.qml"); - if (component.status == Component.Ready) { + if (component.status === Component.Ready) { view = component.createObject(stationListPage) stationListPage.stationView = view pageStack.push(view)