grouping by time equation changed - beter group deviding, also according to favourites
[toast/confclerk.git] / src / mvc / eventmodel.cpp
index d41aab85f2538ffed7e2a6f8412d7c31bf20577a..2753223117237d4d82ad6382eed8eb780a230d62 100644 (file)
@@ -27,7 +27,7 @@ void EventModel::createTimeGroups()
     {
         QTime eventTime = mEvents.at(i).start().time();
 
-        if (nextGroupTime < eventTime)
+        if (nextGroupTime <= eventTime)
         {
             mGroups.last().mChildCount = i - mGroups.last().mFirstEventIndex;
             mGroups << EventModel::Group(QString("%1 - %2").arg(nextGroupTime.toString("HH:mm"),