Skip to content

Commit

Permalink
qml: dont call update during paint
Browse files Browse the repository at this point in the history
  • Loading branch information
promag committed Nov 30, 2023
1 parent bc6f872 commit caa0f4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qml/controls/linegraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ void LineGraph::paintTraffic(QPainter * painter)
painter->drawPath(p);
painter->fillPath(p, QBrush(m_fill_gradient));
}

update();
}

void LineGraph::setupGradient(QPainterPath * painter_path)
Expand Down

0 comments on commit caa0f4a

Please sign in to comment.