diff --git a/src/plugins/cpptools/cppcodemodelsettings.cpp b/src/plugins/cpptools/cppcodemodelsettings.cpp index ed860d0c4ab..15ec9c9bfee 100644 --- a/src/plugins/cpptools/cppcodemodelsettings.cpp +++ b/src/plugins/cpptools/cppcodemodelsettings.cpp @@ -183,11 +183,6 @@ void CppCodeModelSettings::setPCHUsage(CppCodeModelSettings::PCHUsage pchUsage) m_pchUsage = pchUsage; } -void CppCodeModelSettings::emitChanged() -{ - emit changed(); -} - bool CppCodeModelSettings::interpretAmbigiousHeadersAsCHeaders() const { return m_interpretAmbigiousHeadersAsCHeaders; diff --git a/src/plugins/cpptools/cppcodemodelsettings.h b/src/plugins/cpptools/cppcodemodelsettings.h index edf0a6e1dc3..22f5b25c6b2 100644 --- a/src/plugins/cpptools/cppcodemodelsettings.h +++ b/src/plugins/cpptools/cppcodemodelsettings.h @@ -78,12 +78,8 @@ public: QString clazyChecks() const; void setClazyChecks(QString checks); -public: // for tests - void emitChanged(); - signals: void changed(); - void clangDiagnosticConfigIdChanged(); private: PCHUsage m_pchUsage = PchUse_None;