X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.h;fp=pv%2Fview%2Ftimemarker.h;h=328d428f0e52ca547c48840d5a4071e247c78e14;hp=63733f7a5c9a4a9040f4660db5b0ebf152c490c0;hb=ef8311a4296a2dc85c82b063de61efa4eb7a8404;hpb=b698553cd745bf4f50f73f513798bba6209a5d13 diff --git a/pv/view/timemarker.h b/pv/view/timemarker.h index 63733f7a..328d428f 100644 --- a/pv/view/timemarker.h +++ b/pv/view/timemarker.h @@ -51,6 +51,8 @@ protected: TimeMarker(View &view, const QColor &colour, double time); public: + virtual void init_context_bar_actions(QWidget *parent); + /** * Gets the time of the marker. */ @@ -104,8 +106,8 @@ protected: QSizeF _text_size; - QWidgetAction _value_action; - QDoubleSpinBox _value_widget; + QWidgetAction *_value_action; + QDoubleSpinBox *_value_widget; bool _updating_value_widget; };