From 9ef238a5220af4ee8f701e77ada7d905c12cd1dc Mon Sep 17 00:00:00 2001 From: Luciano Montanaro Date: Fri, 13 Jan 2012 00:08:03 +0100 Subject: [PATCH] use === instead of == --- .../resources/harmattan/qml/StationListPage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.9.5