mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
show default music location if none is saved yet
This commit is contained in:
@@ -102,6 +102,11 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
//FIXME: MULTIPLECOLLECTIONDIRS
|
//FIXME: MULTIPLECOLLECTIONDIRS
|
||||||
if ( s->scannerPaths().count() )
|
if ( s->scannerPaths().count() )
|
||||||
ui->lineEditMusicPath_2->setText( s->scannerPaths().first() );
|
ui->lineEditMusicPath_2->setText( s->scannerPaths().first() );
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui->lineEditMusicPath_2->setText( QDesktopServices::storageLocation( QDesktopServices::MusicLocation ) );
|
||||||
|
}
|
||||||
|
|
||||||
ui->checkBoxWatchForChanges->setChecked( s->watchForChanges() );
|
ui->checkBoxWatchForChanges->setChecked( s->watchForChanges() );
|
||||||
|
|
||||||
// LAST FM
|
// LAST FM
|
||||||
|
Reference in New Issue
Block a user