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:
parent
5294922a02
commit
7258f05070
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user