Qt: add Q_OBJECT macro to midi_creator

This fixes the localization of its strings
This commit is contained in:
Megamouse 2024-02-19 21:45:14 +01:00
parent 183380fe57
commit 6b43e5c80e
4 changed files with 25 additions and 1 deletions

View file

@ -10,6 +10,7 @@ LOG_CHANNEL(cfg_log, "CFG");
midi_creator::midi_creator()
{
setObjectName("midi_creator");
}
// We need to recreate the localized string because the midi creator is currently only created once.