summaryrefslogtreecommitdiffstats
path: root/src/widget/wcoverartlabel.h
diff options
context:
space:
mode:
authorUwe Klotz <uwe_klotz@web.de>2015-09-27 15:04:58 +0200
committerUwe Klotz <uwe_klotz@web.de>2015-09-27 15:04:58 +0200
commitb3f8effa3936116affc52676929ddbd66c3b63a5 (patch)
treebba050f8b330521167a4bfbd5ae99f874b32e7bd /src/widget/wcoverartlabel.h
parent015a4cc32487bdb5b4883b894820df1a7bbdbd17 (diff)
Remove TrackPointer from cover art widgets
...no need to keep a reference of TrackInfoObject.
Diffstat (limited to 'src/widget/wcoverartlabel.h')
-rw-r--r--src/widget/wcoverartlabel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widget/wcoverartlabel.h b/src/widget/wcoverartlabel.h
index 4b9452a973..c0dd10f462 100644
--- a/src/widget/wcoverartlabel.h
+++ b/src/widget/wcoverartlabel.h
@@ -15,7 +15,7 @@ class WCoverArtLabel : public QLabel {
WCoverArtLabel(QWidget* parent = 0);
virtual ~WCoverArtLabel();
- void setCoverArt(TrackPointer pTrack, const CoverInfo& info, QPixmap px);
+ void setCoverArt(const QString& trackLocation, const CoverInfo& coverInfo, QPixmap px);
signals:
void coverArtSelected(const CoverArt& art);
@@ -29,7 +29,6 @@ class WCoverArtLabel : public QLabel {
void slotCoverMenu(const QPoint& pos);
private:
- TrackPointer m_pTrack;
CoverInfo m_coverInfo;
WCoverArtMenu* m_pCoverMenu;
DlgCoverArtFullSize* m_pDlgFullSize;