Skip to content

Commit caa0f4a

Browse files
committed
qml: dont call update during paint
1 parent bc6f872 commit caa0f4a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/qml/controls/linegraph.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ void LineGraph::paintTraffic(QPainter * painter)
130130
painter->drawPath(p);
131131
painter->fillPath(p, QBrush(m_fill_gradient));
132132
}
133-
134-
update();
135133
}
136134

137135
void LineGraph::setupGradient(QPainterPath * painter_path)

0 commit comments

Comments
 (0)