Removed leading zeros of line codes, and fixed unit test.
[ptas] / zouba / qt / route.cpp
index 28a011e..2b150f0 100644 (file)
@@ -60,7 +60,7 @@ void Route::replyFinished( QNetworkReply * reply )
 {
   RouteData routeData = q->parseReply( reply->readAll() );
 
-  ui->BusNoDisplay->setText( q->parseJOREcode( routeData.lineCode ) );
+  ui->BusNoDisplay->setText( routeData.lineCode );
   ui->TimeDisplay->setText( routeData.arrivalTime );
 }