From 62a15e04ee3e49ec1d97a31062fb25165f2c07e4 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Thu, 26 Nov 2009 12:35:34 +0100 Subject: [PATCH] Disabled the highliting of unused symbols. We need to port the code to use the new overloay system. --- src/plugins/cppeditor/cppeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index 0bb303bfff0..465c51a6d0a 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -1955,7 +1955,7 @@ void CPPEditor::updateSemanticInfo(const SemanticInfo &semanticInfo) if (uses.size() == 1) { // it's an unused declaration - highlightUses(uses, &allSelections); + // highlightUses(uses, &allSelections); } else if (good) { QList<QTextEdit::ExtraSelection> selections; highlightUses(uses, &selections); -- GitLab