mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
* Don't set indentation on grouped tree-views.
This commit is contained in:
@@ -92,6 +92,7 @@ HistoryWidget::HistoryWidget( const source_ptr& source, QWidget* parent )
|
||||
/* PlaylistLargeItemDelegate* del = new PlaylistLargeItemDelegate( PlaylistLargeItemDelegate::RecentlyPlayed, trackView(), trackView()->proxyModel() );
|
||||
trackView()->setPlaylistItemDelegate( del );*/
|
||||
|
||||
trackView()->setIndentation( 0 );
|
||||
setPlayableModel( m_model );
|
||||
setEmptyTip( tr( "Sorry, we could not find any recent plays!" ) );
|
||||
m_model->setSource( source );
|
||||
|
@@ -80,6 +80,7 @@ DashboardWidget::DashboardWidget( QWidget* parent )
|
||||
ui->trackView->setPlayableModel( m_tracksModel );
|
||||
ui->trackView->setCaption( tr( "Recently Played Tracks" ) );
|
||||
ui->trackView->trackView()->setUniformRowHeights( false );
|
||||
ui->trackView->trackView()->setIndentation( 0 );
|
||||
|
||||
// ui->trackView->trackView()->setAutoResize( true );
|
||||
m_tracksModel->setSource( source_ptr() );
|
||||
|
Reference in New Issue
Block a user