Fix recording not possible with MIDI keyboard in PianoRoll (#6593)

Co-authored-by: volumie <volumie@yahoo.com>
This commit is contained in:
localhost-127
2023-01-01 11:49:40 +05:30
committed by GitHub
parent a876cf9d00
commit 2f28c2bcc2

View File

@@ -116,7 +116,7 @@ Song::Song() :
/* connect( &m_masterPitchModel, SIGNAL(dataChanged()),
this, SLOT(masterPitchChanged()));*/
qRegisterMetaType<Note>( "Note" );
qRegisterMetaType<lmms::Note>( "lmms::Note" );
setType( SongContainer );
for (auto& scale : m_scales) {scale = std::make_shared<Scale>();}