summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-01-03 22:05:40 +0000
committerFlorian Jung <flo@windfisch.org>2012-01-03 22:05:40 +0000
commiteec7d9eb4d38a8f7bdbdb9d6301990a8574b3936 (patch)
tree40272af654ae071d64f237ea8333fbf96d056611 /muse2/muse/app.cpp
parent1bc4ba9dfc00b6e7511fbf4765296a2002f83315 (diff)
parentb68a212e2d1a400145cc8010f74c0b15fe2ce284 (diff)
merged experimental branch into trunk, adding:
- new style drummaps - drummaps stored in idf files - auto-assigning drummaps - some fixes
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index 836fe6fb..21426979 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -81,6 +81,7 @@
#include "tools.h"
#include "widgets/unusedwavefiles.h"
#include "functions.h"
+#include "trackdrummapupdater.h"
namespace MusECore {
extern void initMidiSynth();
@@ -346,6 +347,7 @@ MusE::MusE(int /*argc*/, char** /*argv*/) : QMainWindow()
MusEGlobal::heartBeatTimer->setObjectName("timer");
connect(MusEGlobal::heartBeatTimer, SIGNAL(timeout()), MusEGlobal::song, SLOT(beat()));
connect(this, SIGNAL(activeTopWinChanged(MusEGui::TopWin*)), SLOT(activeTopWinChangedSlot(MusEGui::TopWin*)));
+ new MusECore::TrackDrummapUpdater(); // no need for keeping the reference, the thing autoconnects on its own.
#ifdef ENABLE_PYTHON
//---------------------------------------------------
@@ -1880,6 +1882,7 @@ void MusE::startEditor(MusECore::Track* t)
switch (t->type()) {
case MusECore::Track::MIDI: startPianoroll(); break;
case MusECore::Track::DRUM: startDrumEditor(); break;
+ case MusECore::Track::NEW_DRUM: startDrumEditor(); break;
case MusECore::Track::WAVE: startWaveEditor(); break;
default:
break;