CollectionBackend: Use static `QMetaObject::invokeMethod`

This commit is contained in:
Jonas Kvinge 2024-06-12 17:40:08 +02:00
parent 36e19e82e7
commit 7b43a94055
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ void CollectionBackend::ReportErrors(const CollectionQuery &query) {
}
void CollectionBackend::GetAllSongsAsync(const int id) {
metaObject()->invokeMethod(this, "GetAllSongs", Qt::QueuedConnection, Q_ARG(int, id));
QMetaObject::invokeMethod(this, "GetAllSongs", Qt::QueuedConnection, Q_ARG(int, id));
}
void CollectionBackend::GetAllSongs(const int id) {