On upgrade notification for mass file deletion is disabled by default.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-10-24 14:14:50 +02:00
parent 104e0720a3
commit 485a2b6afe

View file

@ -165,6 +165,9 @@ bool Application::configVersionMigration()
configFile.setLaunchOnSystemStartup(configFile.launchOnSystemStartup()); configFile.setLaunchOnSystemStartup(configFile.launchOnSystemStartup());
Utility::setLaunchOnStartup(theme->appName(), theme->appNameGUI(), configFile.launchOnSystemStartup()); Utility::setLaunchOnStartup(theme->appName(), theme->appNameGUI(), configFile.launchOnSystemStartup());
// default is now off to displaying dialog warning user of too many files deletion
configFile.setPromptDeleteFiles(false);
// back up all old config files // back up all old config files
QStringList backupFilesList; QStringList backupFilesList;
QDir configDir(configFile.configPath()); QDir configDir(configFile.configPath());