X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/07ae23af712746b964906f0f1e785bdb13201399..0bb39f584c6cf15956ec3f92d1d39bd4fd4fd80a:/src/gui/tabcontainer.cpp diff --git a/src/gui/tabcontainer.cpp b/src/gui/tabcontainer.cpp index f2e3fff..c03b2e1 100644 --- a/src/gui/tabcontainer.cpp +++ b/src/gui/tabcontainer.cpp @@ -35,8 +35,8 @@ TabContainer::TabContainer(QWidget *aParent) } else { - QDate aStartDate = Conference::getById(AppSettings::confId()).start(); - QDate aEndDate = Conference::getById(AppSettings::confId()).end(); + QDate aStartDate = Conference::getById(Conference::activeConference()).start(); + QDate aEndDate = Conference::getById(Conference::activeConference()).end(); dayNavigator->setDates(aStartDate, aEndDate); } } @@ -44,7 +44,7 @@ TabContainer::TabContainer(QWidget *aParent) void TabContainer::updateTreeView(const QDate &aDate) { dayNavigator->show(); - loadEvents( aDate, AppSettings::confId() ); + loadEvents( aDate, Conference::activeConference() ); treeView->reset(); } @@ -101,5 +101,3 @@ void TabContainer::setDates(const QDate &aStart, const QDate &aEnd) dayNavigator->setDates(aStart, aEnd); } - -