Commit 6669fdb1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use static_cast here

parent 722f8a7e
Pipeline #48556 failed with stage
in 15 minutes and 54 seconds
......@@ -323,7 +323,7 @@ void TimeLabels::paintEvent(QPaintEvent *)
QSize TimeLabels::sizeHint() const
{
return {mMiniWidth, mRows * mCellHeight};
return {mMiniWidth, static_cast<int>(mRows * mCellHeight)};
}
void TimeLabels::contextMenuEvent(QContextMenuEvent *event)
......
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