1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Need to eventually hookup the link between SourceItem and ViewManager again.

This commit is contained in:
Christian Muehlhaeuser 2012-06-01 04:58:56 +02:00
parent 8c5fbcd7c7
commit bdab8bc1c8

View File

@ -28,7 +28,6 @@
#include "utils/Logger.h"
#include "widgets/SocialPlaylistWidget.h"
#include "playlist/CustomPlaylistView.h"
#include "playlist/CollectionView.h"
#include "playlist/PlaylistView.h"
#include "playlist/RecentlyAddedModel.h"
#include "playlist/RecentlyPlayedModel.h"
@ -105,8 +104,8 @@ SourceItem::SourceItem( SourcesModel* mdl, SourceTreeItem* parent, const Tomahaw
onStationsAdded( stations );
}
if ( ViewManager::instance()->pageForCollection( source->collection() ) )
model()->linkSourceItemToPage( this, ViewManager::instance()->pageForCollection( source->collection() ) );
/* if ( ViewManager::instance()->pageForCollection( source->collection() ) )
model()->linkSourceItemToPage( this, ViewManager::instance()->pageForCollection( source->collection() ) );*/
m_defaultAvatar = TomahawkUtils::createAvatarFrame( QPixmap( RESPATH "images/user-avatar.png" ) );