summaryrefslogtreecommitdiffstats
path: root/src/widget/wcoverart.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-10-27 23:47:34 -0400
committerRJ Ryan <rryan@mixxx.org>2014-10-27 23:50:51 -0400
commit8b77640653c01b5b5df6c29149fc32265848c482 (patch)
treedc18c467363a9031b39e2938163acbe37d074d55 /src/widget/wcoverart.h
parentda949ae812c600290330395081d7f5ce65617306 (diff)
Allow segregation of multiple users of CoverArtCache.
* Provide a QObject* requestor pointer when calling requestCover. In practice this can be any number you want it to but it is particularly useful for the requestor class to pass a pointer to itself so it can compare the signal it gets to itself. * Provide the original CoverInfo request.
Diffstat (limited to 'src/widget/wcoverart.h')
-rw-r--r--src/widget/wcoverart.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget/wcoverart.h b/src/widget/wcoverart.h
index fcd27f725c..eda0778cbe 100644
--- a/src/widget/wcoverart.h
+++ b/src/widget/wcoverart.h
@@ -32,7 +32,8 @@ class WCoverArt : public QWidget, public WBaseWidget {
void trackDropped(QString filename, QString group);
private slots:
- void slotPixmapFound(int trackId, QPixmap pixmap);
+ void slotCoverFound(const QObject* pRequestor, const CoverInfo& info,
+ QPixmap pixmap);
void slotCoverArtSelected(const CoverArt& art);
void slotTrackCoverArtUpdated();