Set discovered legacy config file path during account migration

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-04-30 18:40:34 +08:00
parent 6cd68b8632
commit 081871d792

View file

@ -222,6 +222,7 @@ bool AccountManager::restoreFromLegacySettings()
settings = std::move(oCSettings); settings = std::move(oCSettings);
} }
ConfigFile::setDiscoveredLegacyConfigPath(configFileInfo.canonicalPath());
break; break;
} else { } else {
qCInfo(lcAccountManager) << "Migrate: could not read old config " << configFile; qCInfo(lcAccountManager) << "Migrate: could not read old config " << configFile;