Commit c8108159 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

core, T12720 don't ask to download background music if disabled

parent 46060e2c
......@@ -783,7 +783,7 @@ Item {
DownloadManager.updateResource(DownloadManager.getBackgroundMusicResources());
ApplicationSettings.isAutomaticDownloadsEnabled = prevAutomaticDownload
}
else {
else if(ApplicationSettings.isBackgroundMusicEnabled) {
Core.showMessageDialog(main,
qsTr("The background music is not yet installed. ")
+ qsTr("Do you want to download it now?"),
......
......@@ -219,7 +219,7 @@ Window {
rccBackgroundMusic = ApplicationInfo.getBackgroundMusicFromRcc()
}
}
else if(!DownloadManager.haveLocalResource(music)) {
else if(ApplicationSettings.isBackgroundMusicEnabled && !DownloadManager.haveLocalResource(music)) {
Core.showMessageDialog(
main,
qsTr("The background music is not yet downloaded. ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment