Use new connect syntax for QMetaObject::invokeMethod
This commit is contained in:
@@ -1490,7 +1490,7 @@ void Playlist::ScheduleSaveAsync() {
|
||||
ScheduleSave();
|
||||
}
|
||||
else {
|
||||
QMetaObject::invokeMethod(this, "ScheduleSave", Qt::QueuedConnection);
|
||||
QMetaObject::invokeMethod(this, &Playlist::ScheduleSave, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user