diff --git a/src/sourcetree/items/temporarypageitem.cpp b/src/sourcetree/items/temporarypageitem.cpp index d1d4beaca..39aee2d1b 100644 --- a/src/sourcetree/items/temporarypageitem.cpp +++ b/src/sourcetree/items/temporarypageitem.cpp @@ -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 ); }