Use the hardcoded lightGray background for marking the uses of a local name.

This commit is contained in:
Roberto Raggi
2009-06-25 14:15:37 +02:00
parent 27f92695cf
commit b98fbf68c5

View File

@@ -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);