Disabled the highliting of unused symbols.

We need to port the code to use the new overloay system.
This commit is contained in:
Roberto Raggi
2009-11-26 12:35:34 +01:00
parent 80b52e589d
commit 62a15e04ee

View File

@@ -1955,7 +1955,7 @@ void CPPEditor::updateSemanticInfo(const SemanticInfo &semanticInfo)
if (uses.size() == 1) { if (uses.size() == 1) {
// it's an unused declaration // it's an unused declaration
highlightUses(uses, &allSelections); // highlightUses(uses, &allSelections);
} else if (good) { } else if (good) {
QList<QTextEdit::ExtraSelection> selections; QList<QTextEdit::ExtraSelection> selections;
highlightUses(uses, &selections); highlightUses(uses, &selections);