mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-01 10:06:43 +01:00
SongLoader: Use QObject::connect
This commit is contained in:
parent
402d13a322
commit
0a93affeef
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user