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 EventViews
Commits
cf0da5a5
Commit
cf0da5a5
authored
Jan 25, 2021
by
Laurent Montel
😁
Browse files
Make it compile here too
parent
6669fdb1
Pipeline
#48596
failed with stage
in 12 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/month/monthgraphicsitems.cpp
View file @
cf0da5a5
...
...
@@ -205,8 +205,8 @@ QPainterPath MonthGraphicsItem::widgetPath(bool border) const
QRectF
MonthGraphicsItem
::
boundingRect
()
const
{
// width - 2 because of the cell-dividing line with width == 1 at beginning and end
return
{
0
,
0
,
(
daySpan
()
+
1
)
*
mMonthItem
->
monthScene
()
->
columnWidth
()
-
2
,
mMonthItem
->
monthScene
()
->
itemHeight
()
}
;
return
QRectF
(
0
,
0
,
(
daySpan
()
+
1
)
*
mMonthItem
->
monthScene
()
->
columnWidth
()
-
2
,
mMonthItem
->
monthScene
()
->
itemHeight
()
)
;
}
void
MonthGraphicsItem
::
paint
(
QPainter
*
p
,
const
QStyleOptionGraphicsItem
*
,
QWidget
*
)
...
...
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