]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewport.hpp
Fix inconsistent declaration parameter names.
[pulseview.git] / pv / view / viewport.hpp
index c2c42d155d79bf9ecbe28ed54b2741f37271b554..cde9f3f57673dc9df71aded63ccfe8617c98245e 100644 (file)
@@ -87,16 +87,17 @@ private:
         * Handles touch begin update and end events.
         * @param e the event that triggered this handler.
         */
-       bool touch_event(QTouchEvent *e);
+       bool touch_event(QTouchEvent *event);
 
 private:
        void paintEvent(QPaintEvent *event);
 
        void mouseDoubleClickEvent(QMouseEvent * event);
-       void wheelEvent(QWheelEvent *event);
+       void wheelEvent(QWheelEvent *e);
 
 private:
        boost::optional<pv::util::Timestamp> drag_offset_;
+       int drag_v_offset_;
 
        double pinch_offset0_;
        double pinch_offset1_;