Ignore:
Timestamp:
01/27/10 22:08:37 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
0401cc2
Parents:
21d7cc0
Message:

'conflict' dialog now contains list of events in conflict with given eventId

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/conflictdialogcontainer.cpp

    r21d7cc0 rd49254d  
    99void ConflictDialogContainer::loadEvents( const QDate &aDate, const int aConferenceId )
    1010{
    11     static_cast<EventModel*>(treeView->model())->loadEventsByRoom( aDate, aConferenceId );
    12     //treeView->setAllExpanded(true);
     11    static_cast<EventModel*>(treeView->model())->loadConflictEvents( mEventId, aConferenceId );
     12    dayNavigator->hide();
    1313}
    1414
    15 void ConflictDialogContainer::updateTreeViewModel(int aEventId)
    16 {
    17     // requires special handling
    18     // we need to reload favourites, because some favourite could be deleted
    19     //static_cast<EventModel*>(favTreeView->model())->updateModel(aEventId);
    20     int confId = Conference::activeConference();
    21     QDate startDate = Conference::getById(confId).start();
    22     QDate endDate = Conference::getById(confId).end();
    23     dayNavigator->setDates(startDate, endDate);
    24     updateTreeView( Conference::getById(confId).start() );
    25 }
    26 
Note: See TracChangeset for help on using the changeset viewer.