From 174a48642887f35fd1cd505e347bd21e061e6519 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 11 Jan 2023 18:17:03 +0100 Subject: [PATCH] Stop checking config to migrate at current path if could not read file Signed-off-by: Claudio Cambra --- src/gui/accountmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp index adb0fd04f..f27d056ea 100644 --- a/src/gui/accountmanager.cpp +++ b/src/gui/accountmanager.cpp @@ -179,6 +179,7 @@ bool AccountManager::restoreFromLegacySettings() auto oCSettings = std::make_unique(configFile, QSettings::IniFormat); if (oCSettings->status() != QSettings::Status::NoError) { qCInfo(lcAccountManager) << "Error reading legacy configuration file" << oCSettings->status(); + break; } // Check the theme url to see if it is the same url that the oC config was for -- 2.30.2