From: Claudio Cambra Date: Wed, 11 Jan 2023 17:17:03 +0000 (+0100) Subject: Stop checking config to migrate at current path if could not read file X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~33^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=174a48642887f35fd1cd505e347bd21e061e6519;p=nextcloud-desktop.git Stop checking config to migrate at current path if could not read file Signed-off-by: Claudio Cambra --- 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