Use static QMetaObject::invokeMethod

This commit is contained in:
Jonas Kvinge
2021-09-09 21:53:14 +02:00
parent d35d3aabc3
commit 24a3ac9811
17 changed files with 53 additions and 53 deletions

View File

@@ -427,7 +427,7 @@ void Playlist::SongSaveComplete(TagReaderReply *reply, const QPersistentModelInd
}
}
metaObject()->invokeMethod(reply, "deleteLater", Qt::QueuedConnection);
QMetaObject::invokeMethod(reply, "deleteLater", Qt::QueuedConnection);
}
@@ -1472,7 +1472,7 @@ void Playlist::ScheduleSaveAsync() {
ScheduleSave();
}
else {
metaObject()->invokeMethod(this, "ScheduleSave", Qt::QueuedConnection);
QMetaObject::invokeMethod(this, "ScheduleSave", Qt::QueuedConnection);
}
}