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

* Fixed crash on startup with empty config.

This commit is contained in:
Christian Muehlhaeuser 2011-04-03 13:07:20 +02:00
parent 680b204d11
commit 8729c91c95

View File

@ -87,7 +87,8 @@ SettingsDialog::SettingsDialog( QWidget *parent )
// MUSIC SCANNER
//FIXME: MULTIPLECOLLECTIONDIRS
ui->lineEditMusicPath->setText( s->scannerPaths().first() );
if ( s->scannerPaths().count() )
ui->lineEditMusicPath->setText( s->scannerPaths().first() );
ui->checkBoxWatchForChanges->setChecked( s->watchForChanges() );
// LAST FM