From b98fbf68c5373124ef5e17045615c740ec49b0df Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Thu, 25 Jun 2009 14:15:37 +0200
Subject: [PATCH] Use the hardcoded lightGray background for marking the uses
 of a local name.

---
 src/plugins/cppeditor/cppeditor.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp
index b2878529337..d1a45d7e134 100644
--- a/src/plugins/cppeditor/cppeditor.cpp
+++ b/src/plugins/cppeditor/cppeditor.cpp
@@ -915,8 +915,7 @@ void CPPEditor::updateMethodBoxIndexNow()
 
 
     QTextCharFormat format;
-    format.setUnderlineColor(Qt::darkGray);
-    format.setUnderlineStyle(QTextCharFormat::DashUnderline);
+    format.setBackground(Qt::lightGray);
     FindLocals findLocals(control);
     const FindLocals::UseMap useMap = findLocals(currentFunctionDefinition);
     FindLocals::UseIterator it(useMap);
-- 
GitLab