new icons
BIN
data/images/add.png
Normal file → Executable file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
data/images/automatic-playlist.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
data/images/back.png
Normal file → Executable file
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
data/images/forward.png
Normal file → Executable file
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 1.2 KiB |
BIN
data/images/list-remove.png
Normal file → Executable file
Before Width: | Height: | Size: 332 B After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
data/images/recently-played.png
Normal file → Executable file
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
data/images/station.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -88,6 +88,8 @@
|
|||||||
<file>./data/images/music-settings.png</file>
|
<file>./data/images/music-settings.png</file>
|
||||||
<file>./data/images/resolvers-settings.png</file>
|
<file>./data/images/resolvers-settings.png</file>
|
||||||
<file>./data/images/lastfm-settings.png</file>
|
<file>./data/images/lastfm-settings.png</file>
|
||||||
|
<file>./data/images/automatic-playlist.png</file>
|
||||||
|
<file>./data/images/station.png</file>
|
||||||
<file>./data/stylesheets/topbar-radiobuttons.css</file>
|
<file>./data/stylesheets/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>
|
||||||
|
@@ -320,3 +320,13 @@ DynamicPlaylistItem::willAcceptDrag( const QMimeData* data ) const
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QIcon
|
||||||
|
DynamicPlaylistItem::icon() const
|
||||||
|
{
|
||||||
|
if( m_dynplaylist->mode() == OnDemand ) {
|
||||||
|
return QIcon( RESPATH "images/station.png" );
|
||||||
|
} else {
|
||||||
|
return QIcon( RESPATH "images/automatic-playlist.png" );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -62,6 +62,7 @@ public:
|
|||||||
virtual bool willAcceptDrag( const QMimeData* data ) const;
|
virtual bool willAcceptDrag( const QMimeData* data ) const;
|
||||||
virtual void activate();
|
virtual void activate();
|
||||||
virtual int peerSortValue() const;
|
virtual int peerSortValue() const;
|
||||||
|
virtual QIcon icon() const;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void onDynamicPlaylistLoaded( Tomahawk::DynamicPlaylistRevision revision );
|
void onDynamicPlaylistLoaded( Tomahawk::DynamicPlaylistRevision revision );
|
||||||
|