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
6669fdb1
Commit
6669fdb1
authored
Jan 24, 2021
by
Laurent Montel
😁
Browse files
Use static_cast here
parent
722f8a7e
Pipeline
#48556
failed with stage
in 15 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/agenda/timelabels.cpp
View file @
6669fdb1
...
...
@@ -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
)
...
...
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