--- infoscreen/MainView.cpp 2010/06/22 07:24:14 872 +++ infoscreen/MainView.cpp 2010/06/22 20:29:40 873 @@ -71,12 +71,11 @@ web->start(url,screenid); } - if (currentMode == ModeXml || currentMode == ModeLocal) { - qDebug() << "Starting timer..."; - timer = new QTimer(this); - connect(timer, SIGNAL(timeout() ), this, SLOT(onTimer() )); - timer->start(100); - } + + qDebug() << "Starting timer..."; + timer = new QTimer(this); + connect(timer, SIGNAL(timeout() ), this, SLOT(onTimer() )); + timer->start(100); } void MainView::loadSettings() @@ -135,13 +134,16 @@ void MainView::onTimer() { + qDebug() << "onTimer()"; screenManager.timerTick(); if (currentMode == ModeXml) { readXml(); } - switchScreens(); + if (currentMode == ModeXml || currentMode == ModeLocal) { + switchScreens(); + } }