mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 17:29:42 +01:00
* Different track icon for temporary pages.
This commit is contained in:
parent
393cefb88c
commit
2a6766c6d2
@ -20,6 +20,7 @@
|
||||
#include "ViewManager.h"
|
||||
#include "widgets/infowidgets/AlbumInfoWidget.h"
|
||||
#include "widgets/infowidgets/ArtistInfoWidget.h"
|
||||
#include "widgets/infowidgets/TrackInfoWidget.h"
|
||||
#include "widgets/SearchWidget.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
@ -34,6 +35,8 @@ TemporaryPageItem::TemporaryPageItem ( SourcesModel* mdl, SourceTreeItem* parent
|
||||
m_icon = QIcon( RESPATH "images/artist-icon.png" );
|
||||
else if ( dynamic_cast< AlbumInfoWidget* >( page ) )
|
||||
m_icon = QIcon( RESPATH "images/album-icon.png" );
|
||||
else if ( dynamic_cast< TrackInfoWidget* >( page ) )
|
||||
m_icon = QIcon( RESPATH "images/track-icon.png" );
|
||||
else if ( dynamic_cast< SearchWidget* >( page ) )
|
||||
m_icon = QIcon( RESPATH "images/search-icon.png" );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user