1
0
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:
Christian Muehlhaeuser
2014-08-18 03:05:00 +02:00
parent 7031dcec40
commit ba3b85d794
2 changed files with 2 additions and 0 deletions

View File

@@ -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 );

View File

@@ -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() );