Skip to content

Commit 1edc8a7

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)