1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

* PlaylistLargeItemDelegate is obsolete.

This commit is contained in:
Christian Muehlhaeuser
2014-08-13 00:55:52 +02:00
parent 334229b218
commit e21be6a4c3

View File

@@ -89,8 +89,8 @@ HistoryWidget::HistoryWidget( const source_ptr& source, QWidget* parent )
else else
m_model->setDescription( tr( "%1's recently played tracks" ).arg( source->friendlyName() ) ); m_model->setDescription( tr( "%1's recently played tracks" ).arg( source->friendlyName() ) );
PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::RecentlyPlayed, trackView(), trackView()->proxyModel() ); /* PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::RecentlyPlayed, trackView(), trackView()->proxyModel() );
trackView()->setPlaylistItemDelegate( del ); trackView()->setPlaylistItemDelegate( del );*/
setPlayableModel( m_model ); setPlayableModel( m_model );
setEmptyTip( tr( "Sorry, we could not find any recent plays!" ) ); setEmptyTip( tr( "Sorry, we could not find any recent plays!" ) );