activities tab implemented - need to fit gui, functionality works fine
[toast/confclerk.git] / src / mvc / eventmodel.cpp
index 1c0d295e877bdb6316a2db65a58746043f4c58e7..d41aab85f2538ffed7e2a6f8412d7c31bf20577a 100644 (file)
@@ -185,10 +185,10 @@ void EventModel::loadEventsByActivities(const QDate &aDate, int aConferenceId)
 {
     clearModel();
     if(Conference::getAll().count())
-        {
-            qDebug() << "Loading Conference Data (by Activities): [" << Conference::getById(aConferenceId).title() << "] " << aDate;
-            mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
-        }
+    {
+        qDebug() << "Loading Conference Data (by Activities): [" << Conference::getById(aConferenceId).title() << "] " << aDate;
+        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
+    }
     createActivityGroups();
 }