Cleanup and restructure the main UI
[pywienerlinien] / qml / StationSheet.qml
index 6e58e76..d9f0b38 100644 (file)
@@ -131,17 +131,4 @@ Sheet {
             platformStyle: BusyIndicatorStyle { size: 'large' }
         }
     }
-
-    onAccepted: {
-        gstation.text = stationSheet.currentStation
-
-        realtimeResult.gline = stationSheet.currentLine
-        realtimeResult.gstation = stationSheet.currentStation
-        realtimeResult.gdirection = stationSheet.currentDirection
-        realtimeResult.isStation = false
-
-        realtimeResult.sourceUrl = itip.get_directions_url(stationSheet.currentLine, stationSheet.currentDirection, stationSheet.currentStation)
-        console.log('url to get: ' + realtimeResult.sourceUrl)
-
-    }
 }