diff options
-rw-r--r-- | muse2/ChangeLog | 2 | ||||
-rw-r--r-- | muse2/muse/mixer/rack.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index b44133dc..c51dd3b1 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -9,6 +9,8 @@ a plugin is selected. (Orcan) - Feature: Middle mouse button click on a plugin in the rack will (un)byass the plugin. (Orcan) + - Actually, use Qt:MidButton instead of instead of Qt:MiddleButton in rack.cpp. + The latter is Qt >= 4.7 only. 09.12.2010: - Fix: column orders mess up in the main window, and they do not save properly in the .med files. (Orcan) diff --git a/muse2/muse/mixer/rack.cpp b/muse2/muse/mixer/rack.cpp index a8bd1c62..e7f72714 100644 --- a/muse2/muse/mixer/rack.cpp +++ b/muse2/muse/mixer/rack.cpp @@ -504,7 +504,7 @@ void EffectRack::mousePressEvent(QMouseEvent *event) menuRequested(itemAt(event->pos())); return; } - else if(event->button() & Qt::MiddleButton) { + else if(event->button() & Qt::MidButton) { int idx = row(itemAt(event->pos())); bool flag = !track->efxPipe()->isOn(idx); track->efxPipe()->setOn(idx, flag); |