Changeset 9208bdb for src/mvc/eventmodel.cpp
- Timestamp:
- 01/19/10 21:58:29 (13 years ago)
- Branches:
- master, qt5
- Children:
- 1fe2f21
- Parents:
- 395d6d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/eventmodel.cpp
r395d6d3 r9208bdb 1 1 #include "eventmodel.h" 2 2 #include <conference.h> 3 #include <activity.h> 3 4 4 5 EventModel::EventModel() … … 51 52 } 52 53 int activityId = mEvents.first().activityId(); 53 //TODO korinpa: get activity name 54 mGroups << EventModel::Group( QString("activity %1").arg(activityId), 0);54 55 mGroups << EventModel::Group(Activity::getActivityName(activityId), 0); 55 56 int nextActivityId = activityId; 56 57 … … 61 62 { 62 63 mGroups.last().mChildCount = i - mGroups.last().mFirstEventIndex; 63 mGroups << EventModel::Group( QString("activity %1").arg(activityId), 0);64 //intnextActivityId = activityId;64 mGroups << EventModel::Group(Activity::getActivityName(activityId), i); 65 nextActivityId = activityId; 65 66 } 66 67 // add parent-child relation
Note: See TracChangeset
for help on using the changeset viewer.