mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 07:07:05 +02:00
* Use LovedTracksItem for Top Loved Tracks sidebar item.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "sourcetree/items/GroupItem.h"
|
||||
#include "sourcetree/items/GenericPageItems.h"
|
||||
#include "sourcetree/items/HistoryItem.h"
|
||||
#include "sourcetree/items/LovedTracksItem.h"
|
||||
#include "SourceList.h"
|
||||
#include "Playlist.h"
|
||||
#include "Collection.h"
|
||||
@@ -293,9 +294,7 @@ SourcesModel::appendGroups()
|
||||
sc->setSortValue( 1 );
|
||||
|
||||
// browse section
|
||||
GenericPageItem* loved = new GenericPageItem( this, browse, tr( "Top Loved Tracks" ), QIcon( RESPATH "images/loved_playlist.png" ),
|
||||
boost::bind( &ViewManager::showTopLovedPage, ViewManager::instance() ),
|
||||
boost::bind( &ViewManager::topLovedWidget, ViewManager::instance() ) );
|
||||
LovedTracksItem* loved = new LovedTracksItem( this, browse );
|
||||
loved->setSortValue( 2 );
|
||||
|
||||
GenericPageItem* recent = new GenericPageItem( this, browse, tr( "Recently Played" ), QIcon( RESPATH "images/recently-played.png" ),
|
||||
|
@@ -23,7 +23,6 @@
|
||||
#include "GenericPageItems.h"
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "playlist/CustomPlaylistView.h"
|
||||
#include "TemporaryPageItem.h"
|
||||
#include "SourceList.h"
|
||||
|
||||
|
@@ -28,7 +28,6 @@
|
||||
#include "utils/TomahawkUtilsGui.h"
|
||||
#include "utils/Logger.h"
|
||||
#include "widgets/SocialPlaylistWidget.h"
|
||||
#include "playlist/CustomPlaylistView.h"
|
||||
#include "playlist/FlexibleView.h"
|
||||
#include "playlist/PlaylistView.h"
|
||||
#include "playlist/RecentlyAddedModel.h"
|
||||
|
Reference in New Issue
Block a user