Add new setting for favorites
[quandoparte] / application / app.cpp
index 77302e4..26f0076 100644 (file)
@@ -54,7 +54,7 @@ App::App(QObject *parent) :
 {
     stationListModel->load("stations:stations.qpl");
 
-    connect(dataProvider, SIGNAL(stationScheduleReady(QByteArray)),
+    connect(dataProvider, SIGNAL(stationScheduleReady(QByteArray, QUrl)),
             SLOT(downloadFinished(QByteArray)));
 
     connect(stationListView, SIGNAL(stationSelected(QString)),
@@ -158,7 +158,7 @@ void App::showStationSelectView(void)
 void App::readSettings(void)
 {
     Settings *settings = Settings::instance();
-    stationView->setBaseUrl(settings->queryBaseUrl());
+    stationView->setBaseUrl(settings->queryBaseUrl() + "stazione");
 
     /*
        I would use > 0 here, but people may have an old settings file with a 2