Current day is used now when starting the program or loading a conference (ticket...
authorPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 19 Mar 2013 21:57:29 +0000 (21:57 +0000)
committerPhilipp Spitzer <philipp@spitzer.priv.at>
Tue, 19 Mar 2013 21:57:29 +0000 (21:57 +0000)
src/gui/mainwindow.cpp
src/gui/mainwindow.h

index 3bd16551968c4182a694128fab5aee3aa9e36dac..e055b6a573aaaa5cf4b9c4808a419b40cd09f266 100644 (file)
@@ -256,6 +256,7 @@ void MainWindow::initTabs()
 
         // 'dayNavigator' emits signal 'dateChanged' after setting valid START:END dates
         dayNavigator->setDates(startDate, endDate);
+        nowAction->trigger();
     }
 }
 
index 674b4a7b0079cc96a5055635a307950ccaf3d4a9..336b9fe7adcf0b75b8258bde04a83011a0164938 100644 (file)
@@ -62,7 +62,7 @@ private slots:
     void showError(const QString& message);
 private:
     void fillAndShowConferenceHeader();
-    void initTabs();
+    void initTabs(); ///< called on startup and on change of a conference
     void clearTabs();
     void importData(const QByteArray &aData, const QString& url, int conferenceId);