summaryrefslogtreecommitdiff
path: root/muse2/muse/ctrl/ctrlcanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/ctrl/ctrlcanvas.h')
-rw-r--r--muse2/muse/ctrl/ctrlcanvas.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/ctrl/ctrlcanvas.h b/muse2/muse/ctrl/ctrlcanvas.h
index 300cac19..e6864003 100644
--- a/muse2/muse/ctrl/ctrlcanvas.h
+++ b/muse2/muse/ctrl/ctrlcanvas.h
@@ -81,6 +81,8 @@ class CEventList: public std::list<CEvent*> {
//---------------------------------------------------------
class CtrlCanvas : public View {
+ Q_OBJECT
+
MidiEditor* editor;
MidiTrack* curTrack;
MidiPart* curPart;
@@ -120,7 +122,7 @@ class CtrlCanvas : public View {
void pdrawItems(QPainter&, const QRect&, const MidiPart*, bool, bool);
void partControllers(const MidiPart*, int, int*, int*, MidiController**, MidiCtrlValList**);
- Q_OBJECT
+
protected:
enum DragMode { DRAG_OFF, DRAG_NEW, DRAG_MOVE_START, DRAG_MOVE,