diff --git a/src/lib/tabwidget/tabicon.cpp b/src/lib/tabwidget/tabicon.cpp index e6d2a4c1a..87f928f60 100644 --- a/src/lib/tabwidget/tabicon.cpp +++ b/src/lib/tabwidget/tabicon.cpp @@ -115,7 +115,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();