--- infoscreen/MainView.cpp 2010/06/24 09:44:57 884 +++ infoscreen/MainView.cpp 2010/06/24 10:00:51 885 @@ -249,7 +249,6 @@ } if (lastScreenSwitch.isNull() || lastScreenSwitch.elapsed() > (currentItem.runtime*1000)) { - QTime now = QTime::currentTime(); if (lastScreenSwitch.isNull()) currentItemIdx = -1; @@ -297,6 +296,8 @@ } else { errorInfoScreen("Der er ingen information at vise"); + currentItem = ScreenItem(); + currentItem.runtime = 60; //switch screens again in 1 minute } lastScreenSwitch = QTime::currentTime();