logic: fixed initialization of header search paths on first start

* updated version of fallback ApplicationSettings.xml to current settings version
* removed is-empty-check when pre-filling settings at the first start of Sourcetrail
This commit is contained in:
mlangkabel
2019-01-14 17:22:22 +01:00
parent fc64f1a958
commit e3c9f12012
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ bool ApplicationSettings::load(const FilePath& filePath, bool readOnly)
[](const SettingsMigration* migration, Settings* settings)
{
std::vector<FilePath> cxxHeaderSearchPaths = migration->getValuesFromSettings(
settings, "indexing/cxx/header_search_paths/header_search_path", std::vector<FilePath>());
settings, "indexing/cxx/header_search_paths/header_search_path", std::vector<FilePath>());
cxxHeaderSearchPaths = utility::replaceOrAddCxxCompilerHeaderPath(cxxHeaderSearchPaths);