activities tab implemented - not finished yet
authorkorrco <korrco@localhost>
Mon, 18 Jan 2010 15:26:51 +0000 (15:26 +0000)
committerkorrco <korrco@localhost>
Mon, 18 Jan 2010 15:26:51 +0000 (15:26 +0000)
src/mvc/eventmodel.cpp

index bd45b4f..1c0d295 100644 (file)
@@ -146,7 +146,6 @@ int EventModel::rowCount (const QModelIndex & parent) const
 
 void EventModel::clearModel()
 {
-/*
     for(int i = 0;i < mGroups.count();i++){
         QModelIndex idx = index(i, 0);
         Group group = mGroups[i];
@@ -155,8 +154,6 @@ void EventModel::clearModel()
         endRemoveRows();
         //qDebug() << "removing " << group.mChildCount << " events from group:" << i << idx.data() << ":" << ok;
     }
-*/
-    mGroups.clear();
     mEvents.clear();
 }