From 8147576ecf9dfe30883dcbc3dedade621a8b135e Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Wed, 12 Jun 2024 23:53:35 +0200 Subject: [PATCH] Fix crash during migration Signed-off-by: Juraj Oravec --- src/lib/app/profilemanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/app/profilemanager.cpp b/src/lib/app/profilemanager.cpp index dc51c890a..818269efb 100644 --- a/src/lib/app/profilemanager.cpp +++ b/src/lib/app/profilemanager.cpp @@ -400,6 +400,10 @@ void ProfileManager::updateDatabase() }; QHash siteSettings; + /* Copied from mainapplication.cpp */ + Settings::createSettings(DataPaths::currentProfilePath() + QLatin1String("/settings.ini")); + /* End of copied code ** + Settings settings; /* HTML5 permissions */