Skip to content

Commit d1540b5

Browse files
committed
fix: Abnormal issue with modifying network icons
Abnormal issue with modifying network icons pms: BUG-315507
1 parent 6e911f2 commit d1540b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net-view/window/private/neticonbutton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void NetIconButton::paintEvent(QPaintEvent *e)
117117
if (m_textType) {
118118
QPainter pa(&pm);
119119
pa.setCompositionMode(QPainter::CompositionMode_SourceIn);
120-
pa.fillRect(r, painter.pen().brush());
120+
pa.fillRect(pm.rect(), painter.pen().brush());
121121
}
122122
pm.setDevicePixelRatio(scale);
123123
painter.drawPixmap(r, pm);

0 commit comments

Comments
 (0)