]> sigrok.org Git - pulseview.git/commitdiff
Deleted unused pv::view::Viewport::mouseReleaseEvent handler
authorJoel Holdsworth <redacted>
Sat, 9 Mar 2013 15:51:47 +0000 (15:51 +0000)
committerJoel Holdsworth <redacted>
Sat, 9 Mar 2013 17:03:32 +0000 (17:03 +0000)
This resolves the compile failure reported by arekm

pv/view/viewport.cpp
pv/view/viewport.h

index 5882600524d1b77bdfaf0d02ce38ad2e040a96e3..ba26c3c1bcaf1743b0809c9d53c4b9fe44d6fbae 100644 (file)
@@ -104,11 +104,6 @@ void Viewport::mouseMoveEvent(QMouseEvent *event)
        }
 }
 
-void Viewport::mouseReleaseEvent(QMouseEvent *event)
-{
-       assert(event);
-}
-
 void Viewport::wheelEvent(QWheelEvent *event)
 {
        assert(event);
index 7d32c4334ff57c24f03474f9b3fe6455039d0eec..f72eee01e5e59f157739e67189ee9d8c52fbf41d 100644 (file)
@@ -48,7 +48,6 @@ protected:
 private:
        void mousePressEvent(QMouseEvent *event);
        void mouseMoveEvent(QMouseEvent *event);
-       void mouseReleaseEvent(QMouseEvent *event);
        void wheelEvent(QWheelEvent *event);
 
 private: