summaryrefslogtreecommitdiffstats
path: root/src/widget/wcoverartlabel.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-10-27 22:05:51 -0400
committerRJ Ryan <rryan@mixxx.org>2014-10-27 22:05:51 -0400
commit9bbbea5160ae7690e2abed21fae48c1189cd0c82 (patch)
tree61571b5bbe3f27d731199e7a61c804cd6a4294c4 /src/widget/wcoverartlabel.h
parente9aa413ed74a8551b150cd8f95bd27a387fb562a (diff)
Improve connection between WCoverArtMenu, WCoverArtLabel, WCoverArt, and DlgTrackInfo.
* Remove copying of changed cover art into the folder (temporarily?). * Mark all user-generated change events as USER_SELECTED. * Remove reliance on CoverInfo::trackId in a couple places.
Diffstat (limited to 'src/widget/wcoverartlabel.h')
-rw-r--r--src/widget/wcoverartlabel.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widget/wcoverartlabel.h b/src/widget/wcoverartlabel.h
index 82e7f2e20a..ac1f062f2b 100644
--- a/src/widget/wcoverartlabel.h
+++ b/src/widget/wcoverartlabel.h
@@ -15,12 +15,10 @@ class WCoverArtLabel : public QLabel {
WCoverArtLabel(QWidget* parent = 0);
virtual ~WCoverArtLabel();
- void setCoverArt(TrackPointer track, CoverInfo info, QPixmap px);
+ void setCoverArt(TrackPointer pTrack, const CoverInfo& info, QPixmap px);
signals:
- void coverLocationUpdated(const QString& newLocation,
- const QString& oldLocation,
- QPixmap newCover);
+ void coverArtSelected(const CoverArt& art);
protected:
void leaveEvent(QEvent*);