Removed unneeded element
authorLuciano Montanaro <mikelima@cirulla.net>
Thu, 12 Jan 2012 21:40:50 +0000 (22:40 +0100)
committerLuciano Montanaro <mikelima@cirulla.net>
Thu, 12 Jan 2012 21:40:50 +0000 (22:40 +0100)
application/resources/harmattan/qml/StationPage.qml

index 5fe1e60..d8d502a 100644 (file)
@@ -102,13 +102,10 @@ Page {
         onNameChanged: schedule.fetch(name)
         onLayoutChanged: view.state = "ready"
     }
-    Settings {
-        id: settings
+    Component.onCompleted: {
+        updateTimer.timeout.connect(updateStation)
     }
-   Component.onCompleted: {
-       updateTimer.timeout.connect(updateStation)
-   }
-   function updateStation() {
+    function updateStation() {
         schedule.fetch(schedule.name)
-   }
+    }
 }