Skip to content

Commit

Permalink
Merge #374: Don't call update during paint
Browse files Browse the repository at this point in the history
caa0f4a qml: dont call update during paint (João Barbosa)

Pull request description:

ACKs for top commit:
  jarolrod:
    ACK caa0f4a

Tree-SHA512: 9bd81fbd214f9f79eb625ab129455aa02fc4e6d084efbc39eeb412d893e8ca8f57c508e17e369f4584a09a70c587d7ecb8aee2d48438b47edda186d84cc5e337
  • Loading branch information
hebasto committed Dec 2, 2023
2 parents bc6f872 + caa0f4a commit 97fe0b7
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 97fe0b7

Please sign in to comment.