diff options
-rw-r--r-- | src/drumgizmo.cc | 2 | ||||
-rw-r--r-- | src/drumkitloader.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 14a5516..ae3b8e4 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -147,7 +147,7 @@ void DrumGizmo::handleMessage(Message *msg) { DrumkitInfoMessage *msg = new DrumkitInfoMessage(); msg->metadata = loader.metadata; - msghandler.sendMessage(MSGRC_UI, msg); + msghandler.sendMessage(MSGRCV_UI, msg); } break; case Message::ChangeSettingMessage: diff --git a/src/drumkitloader.h b/src/drumkitloader.h index 2c0ea8e..d936c3a 100644 --- a/src/drumkitloader.h +++ b/src/drumkitloader.h @@ -34,6 +34,8 @@ #include "semaphore.h" #include "mutex.h" +#include "drumkitparser.h" + #include "drumkit.h" /** @@ -85,6 +87,7 @@ public: */ void skip(); + MetaData metadata; private: Semaphore run_semaphore; Semaphore semaphore; |