X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/07ae23af712746b964906f0f1e785bdb13201399..0bb39f584c6cf15956ec3f92d1d39bd4fd4fd80a:/src/gui/favtabcontainer.cpp diff --git a/src/gui/favtabcontainer.cpp b/src/gui/favtabcontainer.cpp index 4a8e98f..341dd9f 100644 --- a/src/gui/favtabcontainer.cpp +++ b/src/gui/favtabcontainer.cpp @@ -1,9 +1,3 @@ -/* - * favtabcontainer.cpp - * - * Created on: Jan 27, 2010 - * Author: maemo - */ #include "favtabcontainer.h" @@ -21,8 +15,10 @@ void FavTabContainer::updateTreeViewModel(int aEventId) // requires special handling // we need to reload favourites, because some favourite could be deleted //static_cast(favTreeView->model())->updateModel(aEventId); - QDate aStartDate = Conference::getById(AppSettings::confId()).start(); - QDate aEndDate = Conference::getById(AppSettings::confId()).end(); - dayNavigator->setDates(aStartDate, aEndDate); - updateTreeView( Conference::getById(AppSettings::confId()).start() ); + int confId = Conference::activeConference(); + QDate startDate = Conference::getById(confId).start(); + QDate endDate = Conference::getById(confId).end(); + dayNavigator->setDates(startDate, endDate); + updateTreeView( Conference::getById(confId).start() ); } +