Ignore:
Timestamp:
01/26/10 14:18:54 (12 years ago)
Author:
timkoma <timkoma@…>
Branches:
master, qt5
Children:
b86d4aa
Parents:
6197713
Message:

reload favourites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r6197713 re4c5a03  
    376376{
    377377    static_cast<EventModel*>(dayTreeView->model())->updateModel(aEventId);
    378     static_cast<EventModel*>(favTreeView->model())->updateModel(aEventId);
     378
     379    // we need to reload favourites, because some favourite could be deleted
     380    //static_cast<EventModel*>(favTreeView->model())->updateModel(aEventId);
     381    QDate aStartDate = Conference::getById(AppSettings::confId()).start();
     382    QDate aEndDate = Conference::getById(AppSettings::confId()).end();
     383    favouriteDayNavigator->setDates(aStartDate, aEndDate);
     384    updateFavouritesView( Conference::getById(AppSettings::confId()).start() );
     385
    379386    static_cast<EventModel*>(trackTreeView->model())->updateModel(aEventId);
    380387    static_cast<EventModel*>(searchTreeView->model())->updateModel(aEventId);
Note: See TracChangeset for help on using the changeset viewer.