SongLoader: Use QObject::connect
This commit is contained in:
@@ -520,7 +520,7 @@ SongLoader::Result SongLoader::LoadRemote() {
|
||||
}
|
||||
|
||||
QEventLoop loop;
|
||||
loop.connect(this, &SongLoader::LoadRemoteFinished, &loop, &QEventLoop::quit);
|
||||
QObject::connect(this, &SongLoader::LoadRemoteFinished, &loop, &QEventLoop::quit);
|
||||
|
||||
// Start "playing"
|
||||
pipeline_ = pipeline;
|
||||
|
||||
Reference in New Issue
Block a user