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/mvc/eventmodel.cpp

    r21d7cc0 rd49254d  
    275275}
    276276
     277void EventModel::loadConflictEvents(int aEventId, int aConferenceId)
     278{
     279    clearModel();
     280    // check for existence of the conference in the DB
     281    if(Conference::getAll().count())
     282    {
     283        qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] in conflict with " << aEventId;
     284        mEvents = Event::conflictEvents(aEventId, aConferenceId);
     285    }
     286    createTimeGroups();
     287}
     288
    277289void EventModel::updateModel(int aEventId)
    278290{
Note: See TracChangeset for help on using the changeset viewer.