From 768f44cb75943cd6808256101a17194dc5b5b0f2 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 25 Jul 2014 04:18:36 +0200 Subject: [PATCH] * Remove 'Recently Played' from browse-node. Duplicated by dashboard. --- src/tomahawk/sourcetree/SourcesModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tomahawk/sourcetree/SourcesModel.cpp b/src/tomahawk/sourcetree/SourcesModel.cpp index dd88e05a5..fdb8c1e41 100644 --- a/src/tomahawk/sourcetree/SourcesModel.cpp +++ b/src/tomahawk/sourcetree/SourcesModel.cpp @@ -297,7 +297,7 @@ SourcesModel::flags( const QModelIndex& index ) const void SourcesModel::appendGroups() { - beginInsertRows( QModelIndex(), rowCount(), rowCount() + 4 ); + beginInsertRows( QModelIndex(), rowCount(), rowCount() + 5 ); m_browse = new GroupItem( this, m_rootItem, tr( "Browse" ), 0 ); new HistoryItem( this, m_rootItem, tr( "Search History" ), 1 ); @@ -318,10 +318,10 @@ SourcesModel::appendGroups() boost::bind( &ViewManager::newReleasesWidget, ViewManager::instance() ) ); newReleases->setSortValue( 7 ); - GenericPageItem* recent = new GenericPageItem( this, m_browse, tr( "Recently Played" ), ImageRegistry::instance()->icon( RESPATH "images/recently-played.svg" ), +/* GenericPageItem* recent = new GenericPageItem( this, m_browse, tr( "Recently Played" ), ImageRegistry::instance()->icon( RESPATH "images/recently-played.svg" ), boost::bind( &ViewManager::showRecentPlaysPage, ViewManager::instance() ), boost::bind( &ViewManager::recentPlaysWidget, ViewManager::instance() ) ); - recent->setSortValue( 8 ); + recent->setSortValue( 8 );*/ m_collectionsGroup = new GroupItem( this, m_rootItem, tr( "Friends" ), 4 ); m_cloudGroup = new GroupItem( this, m_rootItem, tr( "Cloud" ), 5 );