From: pavelpa Date: Wed, 27 Jan 2010 21:47:24 +0000 (+0000) Subject: 'nowTab' updated/loaded when application starts X-Git-Tag: 0.5.0~164 X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/commitdiff_plain/9172ee865627f9f8bd7c2fa2bf6e7522935d0f2d 'nowTab' updated/loaded when application starts --- diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 6dee041..d24d964 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -60,6 +60,7 @@ MainWindow::MainWindow(int aEventId, QWidget *aParent) roomsTabContainer->setDates(startDate, endDate); favsTabContainer->setDates(startDate, endDate); searchTabContainer->setDates(startDate, endDate); + nowTabContainer->updateTreeView(QDate::currentDate()); // conferenceTitle->setText(Conference::getById(confId).title()); conferenceSubtitle->setText(Conference::getById(confId).subtitle()); diff --git a/src/gui/nowtabcontainer.h b/src/gui/nowtabcontainer.h index 9154950..e16db3e 100644 --- a/src/gui/nowtabcontainer.h +++ b/src/gui/nowtabcontainer.h @@ -14,7 +14,7 @@ public: protected: virtual void loadEvents( const QDate &aDate, const int aConferenceId ); -protected slots: +public slots: virtual void updateTreeView(const QDate &aDate); private slots: