Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Calendar Support
Commits
13dd1a1e
Commit
13dd1a1e
authored
Feb 26, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/cellitem.cpp
View file @
13dd1a1e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment