mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
search pages too
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user