diff --git a/src/tomahawk/sourcetree/items/LovedTracksItem.cpp b/src/tomahawk/sourcetree/items/LovedTracksItem.cpp index 38d7ac7c4..76a37792a 100644 --- a/src/tomahawk/sourcetree/items/LovedTracksItem.cpp +++ b/src/tomahawk/sourcetree/items/LovedTracksItem.cpp @@ -27,7 +27,7 @@ #include "playlist/FlexibleView.h" #include "playlist/TrackView.h" #include "playlist/TopLovedTracksModel.h" -#include "playlist/PlaylistLargeItemDelegate.h" +#include "playlist/TrackItemDelegate.h" #include "utils/ImageRegistry.h" #include "utils/Logger.h" @@ -79,7 +79,7 @@ LovedTracksItem::activate() TopLovedTracksModel* raModel = new TopLovedTracksModel( pv ); raModel->setTitle( text() ); - PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::LovedTracks, pv->trackView(), pv->trackView()->proxyModel() ); + TrackItemDelegate* del = new TrackItemDelegate( TrackItemDelegate::LovedTracks, pv->trackView(), pv->trackView()->proxyModel() ); pv->trackView()->setPlaylistItemDelegate( del ); pv->setEmptyTip( tr( "Sorry, we could not find any loved tracks!" ) ); diff --git a/src/tomahawk/sourcetree/items/SourceItem.cpp b/src/tomahawk/sourcetree/items/SourceItem.cpp index 112397a1f..7c0a7d870 100644 --- a/src/tomahawk/sourcetree/items/SourceItem.cpp +++ b/src/tomahawk/sourcetree/items/SourceItem.cpp @@ -86,7 +86,7 @@ SourceItem::SourceItem( SourcesModel* mdl, SourceTreeItem* parent, const Tomahaw boost::bind( &SourceItem::latestAdditionsClicked, this ), boost::bind( &SourceItem::getLatestAdditionsPage, this ) ); - m_recentPlaysItem = new GenericPageItem( model(), this, tr( "Recently Played" ), ImageRegistry::instance()->icon( RESPATH "images/recently-played.svg" ), + m_recentPlaysItem = new GenericPageItem( model(), this, tr( "History" ), ImageRegistry::instance()->icon( RESPATH "images/recently-played.svg" ), boost::bind( &SourceItem::recentPlaysClicked, this ), boost::bind( &SourceItem::getRecentPlaysPage, this ) ); @@ -615,8 +615,8 @@ SourceItem::latestAdditionsClicked() else raModel->setDescription( tr( "Latest additions to %1's collection" ).arg( m_source->friendlyName() ) ); - PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::LatestAdditions, pv->trackView(), pv->trackView()->proxyModel() ); - pv->trackView()->setPlaylistItemDelegate( del ); +/* PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::LatestAdditions, pv->trackView(), pv->trackView()->proxyModel() ); + pv->trackView()->setPlaylistItemDelegate( del );*/ pv->setPlayableModel( raModel ); pv->trackView()->sortByColumn( PlayableModel::Age, Qt::DescendingOrder );