activities tab implemented
authorkorrco <korrco@localhost>
Thu, 21 Jan 2010 13:03:32 +0000 (13:03 +0000)
committerkorrco <korrco@localhost>
Thu, 21 Jan 2010 13:03:32 +0000 (13:03 +0000)
src/mvc/eventmodel.cpp

index 3015565..e497c25 100644 (file)
@@ -167,7 +167,7 @@ void EventModel::loadEvents(const QDate &aDate, int aConferenceId)
     if(Conference::getAll().count())
     {
         qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
-        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, Event::START);
+        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
     }
     createTimeGroups();
 }