From 9f4c55528de6c55739cfcdae0016db386f6daf8e Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Fri, 19 Jan 2018 11:48:27 +0100 Subject: [PATCH] CppTools: Remove unused signals/functions Change-Id: I00420f98eb49acfbcbb7f719b0d3a867a8882d31 Reviewed-by: Ivan Donchevskii --- src/plugins/cpptools/cppcodemodelsettings.cpp | 5 ----- src/plugins/cpptools/cppcodemodelsettings.h | 4 ---- 2 files changed, 9 deletions(-) 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;