diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-10-27 23:47:34 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-10-27 23:50:51 -0400 |
commit | 8b77640653c01b5b5df6c29149fc32265848c482 (patch) | |
tree | dc18c467363a9031b39e2938163acbe37d074d55 /src/widget/wcoverart.h | |
parent | da949ae812c600290330395081d7f5ce65617306 (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.h | 3 |
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(); |