X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Flogicsignal.hpp;h=cc62d910845b012b2e1752d5973b8e7b52674be0;hp=274fd6cd23437d95d8d0f0ce6ee470e4ea80a6bd;hb=60938e0430a0d08792ba53b86ca94153baaed74d;hpb=a8fd27591e6c45776f0d917592e3d1f076607c48 diff --git a/pv/view/logicsignal.hpp b/pv/view/logicsignal.hpp index 274fd6cd..cc62d910 100644 --- a/pv/view/logicsignal.hpp +++ b/pv/view/logicsignal.hpp @@ -100,14 +100,14 @@ public: * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with.. */ - void paint_mid(QPainter &p, const ViewItemPaintParams &pp); + void paint_mid(QPainter &p, ViewItemPaintParams &pp); /** * Paints the foreground layer of the signal with a QPainter * @param p the QPainter to paint into. * @param pp the painting parameters object to paint with. */ - virtual void paint_fore(QPainter &p, const ViewItemPaintParams &pp); + virtual void paint_fore(QPainter &p, ViewItemPaintParams &pp); private: void paint_caps(QPainter &p, QLineF *const lines, @@ -118,8 +118,7 @@ private: void init_trigger_actions(QWidget *parent); const vector get_trigger_types() const; - QAction* action_from_trigger_type( - const sigrok::TriggerMatchType *type); + QAction* action_from_trigger_type(const sigrok::TriggerMatchType *type); const sigrok::TriggerMatchType* trigger_type_from_action( QAction *action); void populate_popup_form(QWidget *parent, QFormLayout *form);