Commit dce90030 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Change variable name to avoid shadowing

parent 9e866606
......@@ -398,8 +398,8 @@ namespace Konsole
if (display->hasFocus()) {
painter.fillRect(cursorRect, cursorColor);
QColor color = display->terminalColor()->cursorTextColor();
characterColor = color.isValid() ? color : backgroundColor;
QColor cursorTextColor = display->terminalColor()->cursorTextColor();
characterColor = cursorTextColor.isValid() ? cursorTextColor : backgroundColor;
}
} else if (display->cursorShape() == Enum::UnderlineCursor) {
QLineF line(cursorRect.left() + halfWidth,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment