CppEditor: Do not emit a signal when setting "categorize references"

This is not an actual setting and should not result in a signal emission.
Amends faa595e38b.

Change-Id: Ic3816ca80090594659be66f5558ce52b921c0f02
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Christian Kandeler
2024-03-15 17:45:22 +01:00
parent 1f516cacf7
commit aaf839bcf0

View File

@@ -184,9 +184,7 @@ bool CppCodeModelSettings::categorizeFindReferences()
void CppCodeModelSettings::setCategorizeFindReferences(bool categorize)
{
Data d = globalInstance().data();
d.categorizeFindReferences = categorize;
globalInstance().setGlobalData(d);
globalInstance().m_data.categorizeFindReferences = categorize;
}
CppCodeModelProjectSettings::CppCodeModelProjectSettings(ProjectExplorer::Project *project)