Commit 13dd1a1e authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

These four lines were somehow omitted by merge 577da4 from release/20.12.

parent b35f9207
Pipeline #52381 passed with stage
in 11 minutes and 25 seconds
......@@ -72,9 +72,10 @@ QList<CellItem *> CellItem::placeItem(const QList<CellItem *> &cells, CellItem *
}
placeItem->setSubCell(i);
if (i == maxSubCells) {
qCDebug(CALENDARSUPPORT_LOG) << " New subcell" << i;
placeItem->setSubCell(maxSubCells);
maxSubCells++; // add new item to number of sub cells
maxSubCells += 1;
for (auto item : overlappingItems) {
item->setSubCells(maxSubCells);
}
}
placeItem->setSubCells(maxSubCells);
qCDebug(CALENDARSUPPORT_LOG) << "use subcell" << i << "of" << maxSubCells;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment