ui: disable re-pre-filling of indexed header paths for compilation database sourcegroups (issue #579)
* disable re-pre-filling of indexed header paths if these are empty when showing settings of a cdb sourgroup * fixed indexed header path were not regarded when deciding if project settings have been updated
This commit is contained in:
@@ -334,11 +334,6 @@ void QtProjectWizzardContentPathsCDBHeader::load()
|
||||
{
|
||||
if (std::shared_ptr<SourceGroupSettingsCxxCdb> cdbSettings = std::dynamic_pointer_cast<SourceGroupSettingsCxxCdb>(m_settings))
|
||||
{
|
||||
if (cdbSettings->getIndexedHeaderPaths().empty())
|
||||
{
|
||||
cdbSettings->setIndexedHeaderPaths(getIndexedPathsDerivedFromCDB(cdbSettings));
|
||||
}
|
||||
|
||||
m_list->setPaths(cdbSettings->getIndexedHeaderPaths());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user