diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 29f38e856..51d593808 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -1082,6 +1082,7 @@ bool ImportProject::importCppcheckGuiProject(std::istream &istr, Settings *setti settings->userDefines = temp.userDefines; settings->userUndefs = temp.userUndefs; settings->addons = temp.addons; + settings->clang = temp.clang; settings->clangTidy = temp.clangTidy; for (const std::string &p : paths) @@ -1127,4 +1128,4 @@ void ImportProject::selectOneVsConfig(Settings::PlatformType platform) std::list ImportProject::getVSConfigs() { return std::list (mAllVSConfigs.begin(), mAllVSConfigs.end()); -} \ No newline at end of file +}