Commit 722f8a7e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compiles on BSD

parent 926fed97
Pipeline #48551 canceled with stage
...@@ -2328,7 +2328,7 @@ QSize Agenda::sizeHint() const ...@@ -2328,7 +2328,7 @@ QSize Agenda::sizeHint() const
if (d->mAllDayMode) { if (d->mAllDayMode) {
return QWidget::sizeHint(); return QWidget::sizeHint();
} else { } else {
return {parentWidget()->width(), d->mGridSpacingY * d->mRows}; return {parentWidget()->width(), static_cast<int>(d->mGridSpacingY * d->mRows)};
} }
} }
......
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