1
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:
David Rosca 2016-07-17 09:38:01 +02:00
parent 0e3448f96c
commit 648090d167

View File

@ -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();