mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
make the Recently played tracks list wider like it used to be
This commit is contained in:
@@ -75,10 +75,10 @@ WelcomeWidget::WelcomeWidget( QWidget* parent )
|
|||||||
m_tracksModel->setSource( source_ptr() );
|
m_tracksModel->setSource( source_ptr() );
|
||||||
|
|
||||||
QFont f;
|
QFont f;
|
||||||
f.setPointSize( 11 );
|
f.setPointSize( 10 );
|
||||||
f.setBold( true );
|
f.setBold( true );
|
||||||
QFontMetrics fm( f );
|
QFontMetrics fm( f );
|
||||||
ui->tracksView->setMinimumWidth( fm.width( tr("Recently played tracks") ) );
|
ui->tracksView->setMinimumWidth( fm.width( tr("Recently played tracks") ) * 2 );
|
||||||
|
|
||||||
m_recentAlbumsModel = new AlbumModel( ui->additionsView );
|
m_recentAlbumsModel = new AlbumModel( ui->additionsView );
|
||||||
ui->additionsView->setPlayableModel( m_recentAlbumsModel );
|
ui->additionsView->setPlayableModel( m_recentAlbumsModel );
|
||||||
|
Reference in New Issue
Block a user