diff --git a/src/covermanager/albumcoverchoicecontroller.cpp b/src/covermanager/albumcoverchoicecontroller.cpp index 60d0ede9c..6c3c16914 100644 --- a/src/covermanager/albumcoverchoicecontroller.cpp +++ b/src/covermanager/albumcoverchoicecontroller.cpp @@ -716,7 +716,7 @@ void AlbumCoverChoiceController::SaveCoverEmbeddedToCollectionSongs(const QStrin #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) QFuture future = QtConcurrent::run(&CollectionBackend::GetAlbumSongs, app_->collection_backend(), effective_albumartist, effective_album, CollectionFilterOptions()); #else - QFuture future = QtConcurrent::run(app_->collection_backend(), &CollectionBackend::GetAlbumSongs, effective_albumartist, effective_album, CollectionFilterOptions()); + QFuture future = QtConcurrent::run(&*app_->collection_backend(), &CollectionBackend::GetAlbumSongs, effective_albumartist, effective_album, CollectionFilterOptions()); #endif QFutureWatcher *watcher = new QFutureWatcher(); QObject::connect(watcher, &QFutureWatcher::finished, this, [this, watcher, cover_filename, image_data, mime_type]() { diff --git a/src/playlist/playlist.cpp b/src/playlist/playlist.cpp index d9ed7d725..9a1b271e8 100644 --- a/src/playlist/playlist.cpp +++ b/src/playlist/playlist.cpp @@ -1537,7 +1537,7 @@ void Playlist::Restore() { #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) QFuture future = QtConcurrent::run(&PlaylistBackend::GetPlaylistItems, backend_, id_); #else - QFuture future = QtConcurrent::run(backend_, &PlaylistBackend::GetPlaylistItems, id_); + QFuture future = QtConcurrent::run(&*backend_, &PlaylistBackend::GetPlaylistItems, id_); #endif QFutureWatcher *watcher = new QFutureWatcher(); QObject::connect(watcher, &QFutureWatcher::finished, this, &Playlist::ItemsLoaded); diff --git a/src/playlist/playlistmanager.cpp b/src/playlist/playlistmanager.cpp index 6be5e6634..071de5e70 100644 --- a/src/playlist/playlistmanager.cpp +++ b/src/playlist/playlistmanager.cpp @@ -221,7 +221,7 @@ void PlaylistManager::Save(const int id, const QString &filename, const Playlist #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) QFuture future = QtConcurrent::run(&PlaylistBackend::GetPlaylistSongs, playlist_backend_, id); #else - QFuture future = QtConcurrent::run(playlist_backend_, &PlaylistBackend::GetPlaylistSongs, id); + QFuture future = QtConcurrent::run(&*playlist_backend_, &PlaylistBackend::GetPlaylistSongs, id); #endif QFutureWatcher *watcher = new QFutureWatcher(); QObject::connect(watcher, &QFutureWatcher::finished, this, [this, watcher, filename, path_type]() {