mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
search pages too
This commit is contained in:
parent
08610eee13
commit
1c66534cb8
@ -20,6 +20,7 @@
|
||||
#include "viewmanager.h"
|
||||
#include "widgets/infowidgets/AlbumInfoWidget.h"
|
||||
#include "widgets/infowidgets/ArtistInfoWidget.h"
|
||||
#include "widgets/searchwidget.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
@ -33,6 +34,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< SearchWidget* >( page ) )
|
||||
m_icon = QIcon( RESPATH "images/search-icon.png" );
|
||||
|
||||
model()->linkSourceItemToPage( this, page );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user