songloader: Make sure timeout timer is started from correct thread

This commit is contained in:
Jonas Kvinge
2021-07-10 21:48:31 +02:00
parent 2bee41e90e
commit 432b0f3e54
2 changed files with 25 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ class SongLoader : public QObject {
void LoadRemoteFinished();
private slots:
void ScheduleTimeout();
void Timeout();
void StopTypefind();
#if defined(HAVE_AUDIOCD) && defined(HAVE_GSTREAMER)
@@ -127,6 +128,8 @@ class SongLoader : public QObject {
bool IsPipelinePlaying();
#endif
void ScheduleTimeoutAsync();
private:
static QSet<QString> sRawUriSchemes;