diff options
Diffstat (limited to 'muse2/muse/widgets/canvas.h')
-rw-r--r-- | muse2/muse/widgets/canvas.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/widgets/canvas.h b/muse2/muse/widgets/canvas.h index d4476df8..595fe04e 100644 --- a/muse2/muse/widgets/canvas.h +++ b/muse2/muse/widgets/canvas.h @@ -11,7 +11,7 @@ #include "citem.h" #include "view.h" #include "tools.h" -//Added by qt3to4: + #include <QWheelEvent> #include <QMouseEvent> #include <QKeyEvent> @@ -73,7 +73,8 @@ class Canvas : public View { HScrollDir hscrollDir; VScrollDir vscrollDir; - int keyState; + int button; + Qt::KeyboardModifiers keyState; QMenu* itemPopupMenu; QMenu* canvasPopupMenu; |