summaryrefslogtreecommitdiffstats
path: root/src/library/coverartcache.cpp
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2019-09-29 14:26:06 +0200
committerGitHub <noreply@github.com>2019-09-29 14:26:06 +0200
commit95388238416f4c4042c8d2f60d39a04e9b5c8278 (patch)
tree985ddc0a6a6f1ec06cff33e6c9d4165a2b66704f /src/library/coverartcache.cpp
parente83391331111f987d7dfee3f2885ac574ddd6f46 (diff)
parent85999453769063e2399a536a1f8bd815d879efd8 (diff)
Merge pull request #2292 from ferranpujolcamins/new-signals-slots-syntax-library
New signals slots syntax in library
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();
}