From: Joel Holdsworth Date: Sat, 9 Mar 2013 15:51:47 +0000 (+0000) Subject: Deleted unused pv::view::Viewport::mouseReleaseEvent handler X-Git-Tag: pulseview-0.1.0~91 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a8e3b0d777d81712e24f352fadb12e6bd33e30fa;p=pulseview.git Deleted unused pv::view::Viewport::mouseReleaseEvent handler This resolves the compile failure reported by arekm --- diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index 58826005..ba26c3c1 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -104,11 +104,6 @@ void Viewport::mouseMoveEvent(QMouseEvent *event) } } -void Viewport::mouseReleaseEvent(QMouseEvent *event) -{ - assert(event); -} - void Viewport::wheelEvent(QWheelEvent *event) { assert(event); diff --git a/pv/view/viewport.h b/pv/view/viewport.h index 7d32c433..f72eee01 100644 --- a/pv/view/viewport.h +++ b/pv/view/viewport.h @@ -48,7 +48,6 @@ protected: private: void mousePressEvent(QMouseEvent *event); void mouseMoveEvent(QMouseEvent *event); - void mouseReleaseEvent(QMouseEvent *event); void wheelEvent(QWheelEvent *event); private: