/[projects]/infoscreen/mainview.cpp
ViewVC logotype

Diff of /infoscreen/mainview.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 872 by torben, Tue Jun 22 07:24:14 2010 UTC revision 874 by torben, Tue Jun 22 20:30:17 2010 UTC
# Line 71  MainView::MainView(QWidget* parent) Line 71  MainView::MainView(QWidget* parent)
71          web->start(url,screenid);          web->start(url,screenid);
72      }      }
73    
74      if (currentMode == ModeXml || currentMode == ModeLocal) {  
75          qDebug() << "Starting timer...";      qDebug() << "Starting timer...";
76          timer = new QTimer(this);      timer = new QTimer(this);
77          connect(timer, SIGNAL(timeout() ), this, SLOT(onTimer() ));      connect(timer, SIGNAL(timeout() ), this, SLOT(onTimer() ));
78          timer->start(100);      timer->start(100);
     }  
79  }  }
80    
81  void MainView::loadSettings()  void MainView::loadSettings()
# Line 141  void MainView::onTimer() Line 140  void MainView::onTimer()
140          readXml();          readXml();
141      }      }
142    
143      switchScreens();      if (currentMode == ModeXml || currentMode == ModeLocal) {
144            switchScreens();
145        }
146  }  }
147    
148    

Legend:
Removed from v.872  
changed lines
  Added in v.874

  ViewVC Help
Powered by ViewVC 1.1.20