summaryrefslogtreecommitdiffstats
path: root/src/library/coverartcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/coverartcache.cpp')
-rw-r--r--src/library/coverartcache.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library/coverartcache.cpp b/src/library/coverartcache.cpp
index 446761c282..6aeaa11074 100644
--- a/src/library/coverartcache.cpp
+++ b/src/library/coverartcache.cpp
@@ -99,7 +99,10 @@ QPixmap CoverArtCache::requestCover(const CoverInfo& requestInfo,
QFuture<FutureResult> future = QtConcurrent::run(
this, &CoverArtCache::loadCover, requestInfo, pRequestor,
desiredWidth, signalWhenDone);
- connect(watcher, SIGNAL(finished()), this, SLOT(coverLoaded()));
+ connect(watcher,
+ &QFutureWatcher<FutureResult>::finished,
+ this,
+ &CoverArtCache::coverLoaded);
watcher->setFuture(future);
return QPixmap();
}