We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e911f2 commit 1edc8a7Copy full SHA for 1edc8a7
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