summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-10 10:22:39 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-10 10:22:39 +0000
commit0939a78104241b6a3d2a97d6f1dfda4614cc7e49 (patch)
treefb3b2e73733da7aa2fa7ce9f9a61dfdc9fbd826b
parent4f11ef1b0124517e14712ffae284198db47d4d8d (diff)
Drop accidental Qt-4.7 requirement
-rw-r--r--muse2/ChangeLog2
-rw-r--r--muse2/muse/mixer/rack.cpp2
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);