diff widgets/LevelPanToolButton.cpp @ 1200:808d375a3b12 levelpanwidget

Support mouse wheel on level-pan tool button
author Chris Cannam
date Fri, 16 Dec 2016 16:29:53 +0000
parents 91aac85406fb
children 8ef67917c301
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.cpp	Fri Dec 16 15:55:59 2016 +0000
+++ b/widgets/LevelPanToolButton.cpp	Fri Dec 16 16:29:53 2016 +0000
@@ -59,6 +59,12 @@
 {
 }
 
+void
+LevelPanToolButton::wheelEvent(QWheelEvent *e)
+{
+    m_lpw->wheelEvent(e);
+}
+
 float
 LevelPanToolButton::getLevel() const
 {