From: Philipp Spitzer Date: Tue, 19 Mar 2013 21:57:29 +0000 (+0000) Subject: Current day is used now when starting the program or loading a conference (ticket... X-Git-Tag: 0.6.0~24 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/3720891e0d1e89877f1a2ada692349051aa9e895 Current day is used now when starting the program or loading a conference (ticket #44). --- diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 3bd1655..e055b6a 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -256,6 +256,7 @@ void MainWindow::initTabs() // 'dayNavigator' emits signal 'dateChanged' after setting valid START:END dates dayNavigator->setDates(startDate, endDate); + nowAction->trigger(); } } diff --git a/src/gui/mainwindow.h b/src/gui/mainwindow.h index 674b4a7..336b9fe 100644 --- a/src/gui/mainwindow.h +++ b/src/gui/mainwindow.h @@ -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);