'nowTab' updated/loaded when application starts
authorpavelpa <pavelpa@localhost>
Wed, 27 Jan 2010 21:47:24 +0000 (21:47 +0000)
committerpavelpa <pavelpa@localhost>
Wed, 27 Jan 2010 21:47:24 +0000 (21:47 +0000)
src/gui/mainwindow.cpp
src/gui/nowtabcontainer.h

index 6dee041..d24d964 100644 (file)
@@ -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());
index 9154950..e16db3e 100644 (file)
@@ -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: