Commit cf0da5a5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile here too

parent 6669fdb1
Pipeline #48596 failed with stage
in 12 minutes and 12 seconds
......@@ -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 *)
......
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