summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2012-11-25 22:31:33 +0000
committerRobert Jonsson <spamatica@gmail.com>2012-11-25 22:31:33 +0000
commita9cef6554f73892b6c7ff6a7a44d8e72f06aa16f (patch)
tree86a63a89429bf7f0f47c33a64e3d8241221f91c5 /muse2/muse
parent59b3e80a52cad958ef7313b05829e2bb1006dfbe (diff)
Speaker on
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/midiedit/drumedit.cpp3
-rw-r--r--muse2/muse/midiedit/ecanvas.cpp2
-rw-r--r--muse2/muse/midiedit/pianoroll.cpp3
3 files changed, 5 insertions, 3 deletions
diff --git a/muse2/muse/midiedit/drumedit.cpp b/muse2/muse/midiedit/drumedit.cpp
index 2ff9448d..08c5bec7 100644
--- a/muse2/muse/midiedit/drumedit.cpp
+++ b/muse2/muse/midiedit/drumedit.cpp
@@ -168,7 +168,7 @@ DrumEdit::DrumEdit(MusECore::PartList* pl, QWidget* parent, const char* name, un
lastSelections = 0;
split1w1 = 0;
//selPart = 0;
- _playEvents = false;
+ _playEvents = true;
QSignalMapper *signalMapper = new QSignalMapper(this);
_group_mode = GROUP_SAME_CHANNEL;
@@ -426,6 +426,7 @@ DrumEdit::DrumEdit(MusECore::PartList* pl, QWidget* parent, const char* name, un
speaker->setToolTip(tr("Play Events"));
speaker->setIcon(*speakerIcon);
speaker->setCheckable(true);
+ speaker->setChecked(true);
speaker->setFocusPolicy(Qt::NoFocus);
tools->addWidget(speaker);
diff --git a/muse2/muse/midiedit/ecanvas.cpp b/muse2/muse/midiedit/ecanvas.cpp
index 9b51c653..c1185688 100644
--- a/muse2/muse/midiedit/ecanvas.cpp
+++ b/muse2/muse/midiedit/ecanvas.cpp
@@ -57,7 +57,7 @@ EventCanvas::EventCanvas(MidiEditor* pr, QWidget* parent, int sx,
editor = pr;
_steprec = false;
_midiin = false;
- _playEvents = false;
+ _playEvents = true;
_setCurPartIfOnlyOneEventIsSelected = true;
curVelo = 70;
diff --git a/muse2/muse/midiedit/pianoroll.cpp b/muse2/muse/midiedit/pianoroll.cpp
index 0698f5ad..14e1ce73 100644
--- a/muse2/muse/midiedit/pianoroll.cpp
+++ b/muse2/muse/midiedit/pianoroll.cpp
@@ -104,7 +104,7 @@ PianoRoll::PianoRoll(MusECore::PartList* pl, QWidget* parent, const char* name,
veloOnOffset = 0;
veloOffOffset = 0;
lastSelections = 0;
- _playEvents = false;
+ _playEvents = true;
colorMode = colorModeInit;
QSignalMapper* mapper = new QSignalMapper(this);
@@ -293,6 +293,7 @@ PianoRoll::PianoRoll(MusECore::PartList* pl, QWidget* parent, const char* name,
speaker->setToolTip(tr("Play Events"));
speaker->setIcon(*speakerIcon);
speaker->setCheckable(true);
+ speaker->setChecked(true);
speaker->setFocusPolicy(Qt::NoFocus);
tools->addWidget(speaker);