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:
parent
680b204d11
commit
8729c91c95
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user