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 3bd1655..e055b6a 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 674b4a7..336b9fe 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);