Remove use of std::bind where possible
This commit is contained in:
@@ -83,7 +83,11 @@ void SongLoaderInserter::Load(Playlist *destination, int row, bool play_now, boo
|
||||
deleteLater();
|
||||
}
|
||||
else {
|
||||
(void)QtConcurrent::run([=]{ AsyncLoad(); });
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
(void)QtConcurrent::run(&SongLoaderInserter::AsyncLoad, this);
|
||||
#else
|
||||
(void)QtConcurrent::run(this, &SongLoaderInserter::AsyncLoad);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user