We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e911f2 commit d1540b5Copy full SHA for d1540b5
1 file changed
net-view/window/private/neticonbutton.cpp
@@ -117,7 +117,7 @@ void NetIconButton::paintEvent(QPaintEvent *e)
117
if (m_textType) {
118
QPainter pa(&pm);
119
pa.setCompositionMode(QPainter::CompositionMode_SourceIn);
120
- pa.fillRect(r, painter.pen().brush());
+ pa.fillRect(pm.rect(), painter.pen().brush());
121
}
122
pm.setDevicePixelRatio(scale);
123
painter.drawPixmap(r, pm);
0 commit comments