1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

show default music location if none is saved yet

This commit is contained in:
Leo Franchi 2011-05-07 17:45:09 -04:00
parent 5294922a02
commit 7258f05070

View File

@ -102,6 +102,11 @@ SettingsDialog::SettingsDialog( QWidget *parent )
//FIXME: MULTIPLECOLLECTIONDIRS
if ( s->scannerPaths().count() )
ui->lineEditMusicPath_2->setText( s->scannerPaths().first() );
else
{
ui->lineEditMusicPath_2->setText( QDesktopServices::storageLocation( QDesktopServices::MusicLocation ) );
}
ui->checkBoxWatchForChanges->setChecked( s->watchForChanges() );
// LAST FM