From 2f28c2bcc24ebd4c9fbfd37c2b363817c779598b Mon Sep 17 00:00:00 2001 From: localhost-127 <77588653+localhost-127@users.noreply.github.com> Date: Sun, 1 Jan 2023 11:49:40 +0530 Subject: [PATCH] Fix recording not possible with MIDI keyboard in PianoRoll (#6593) Co-authored-by: volumie --- src/core/Song.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Song.cpp b/src/core/Song.cpp index 7ecccf56d..ab4ac940b 100644 --- a/src/core/Song.cpp +++ b/src/core/Song.cpp @@ -116,7 +116,7 @@ Song::Song() : /* connect( &m_masterPitchModel, SIGNAL(dataChanged()), this, SLOT(masterPitchChanged()));*/ - qRegisterMetaType( "Note" ); + qRegisterMetaType( "lmms::Note" ); setType( SongContainer ); for (auto& scale : m_scales) {scale = std::make_shared();}