1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 22:38:33 +01:00

* Fixed Collection & Playlist's ViewPage pixmap.

This commit is contained in:
Christian Muehlhaeuser 2011-03-21 16:16:35 +01:00
parent 2b5808a35b
commit 218b92da9e
4 changed files with 5 additions and 2 deletions

BIN
data/images/music-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -73,6 +73,7 @@
<file>./data/images/home.png</file> <file>./data/images/home.png</file>
<file>./data/images/back.png</file> <file>./data/images/back.png</file>
<file>./data/images/forward.png</file> <file>./data/images/forward.png</file>
<file>./data/images/music-icon.png</file>
<file>./data/topbar-radiobuttons.css</file> <file>./data/topbar-radiobuttons.css</file>
<file>./data/icons/tomahawk-icon-16x16.png</file> <file>./data/icons/tomahawk-icon-16x16.png</file>
<file>./data/icons/tomahawk-icon-32x32.png</file> <file>./data/icons/tomahawk-icon-32x32.png</file>

View File

@ -43,7 +43,8 @@ public:
virtual QString title() const { return model()->title(); } virtual QString title() const { return model()->title(); }
virtual QString description() const { return model()->description(); } virtual QString description() const { return model()->description(); }
virtual QPixmap pixmap() const { return QPixmap( RESPATH "images/music-icon.png" ); }
virtual bool showModes() const { return true; } virtual bool showModes() const { return true; }
virtual bool jumpToCurrentTrack(); virtual bool jumpToCurrentTrack();

View File

@ -43,9 +43,10 @@ public:
virtual QWidget* widget() { return this; } virtual QWidget* widget() { return this; }
virtual PlaylistInterface* playlistInterface() const { return proxyModel(); } virtual PlaylistInterface* playlistInterface() const { return proxyModel(); }
virtual QString title() const { return playlistModel()->title(); } virtual QString title() const { return playlistModel()->title(); }
virtual QString description() const { return m_model->description(); } virtual QString description() const { return m_model->description(); }
virtual QPixmap pixmap() const { return QPixmap( RESPATH "images/playlist-icon.png" ); }
virtual bool jumpToCurrentTrack(); virtual bool jumpToCurrentTrack();