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