metatypes: Add LyricsSearchResults

This commit is contained in:
Jonas Kvinge 2024-09-02 22:25:12 +02:00
parent 837e5388ea
commit f265c055a5
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,8 @@
#include "smartplaylists/smartplaylistsearchterm.h" #include "smartplaylists/smartplaylistsearchterm.h"
#include "smartplaylists/smartplaylistsitem.h" #include "smartplaylists/smartplaylistsitem.h"
#include "lyrics/lyricssearchresult.h"
void RegisterMetaTypes() { void RegisterMetaTypes() {
qRegisterMetaType<const char*>("const char*"); qRegisterMetaType<const char*>("const char*");
@ -167,4 +169,6 @@ void RegisterMetaTypes() {
qRegisterMetaType<SmartPlaylistSearchTerm::DateType>("SmartPlaylistSearchTerm::DateType"); qRegisterMetaType<SmartPlaylistSearchTerm::DateType>("SmartPlaylistSearchTerm::DateType");
qRegisterMetaType<SmartPlaylistsItem::Type>("SmartPlaylistsItem::Type"); qRegisterMetaType<SmartPlaylistsItem::Type>("SmartPlaylistsItem::Type");
qRegisterMetaType<LyricsSearchResults>("LyricsSearchResults");
} }