mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix warning about converting double to int
This commit is contained in:
parent
0e3448f96c
commit
648090d167
@ -100,7 +100,7 @@ void TabIcon::paintEvent(QPaintEvent* event)
|
||||
QPainter p(this);
|
||||
|
||||
const int size = 16;
|
||||
const int pixmapSize = size * m_animationPixmap.devicePixelRatioF();
|
||||
const int pixmapSize = qRound(size * m_animationPixmap.devicePixelRatioF());
|
||||
|
||||
// Center the pixmap in rect
|
||||
QRect r = rect();
|
||||
|
Loading…
Reference in New Issue
Block a user