diff --git a/src/qtcurve/style/qtcurve.cpp b/src/qtcurve/style/qtcurve.cpp index 48f8376595..53e5a4247c 100644 --- a/src/qtcurve/style/qtcurve.cpp +++ b/src/qtcurve/style/qtcurve.cpp @@ -4784,11 +4784,7 @@ void Style::drawPrimitive(PrimitiveElement element, const QStyleOption *option, if(widget && ::qobject_cast(widget)) r2.adjust(0, 2, 0, 0); - // Added by Kovid so that the highlight does not cover the text - if(widget && ::qobject_cast(widget)) - r2.adjust(0, 0, 0, 2); - - if(FOCUS_STANDARD==opts.focus) + if(1 || FOCUS_STANDARD==opts.focus) // Changed by Kovid, as the underline focus does not work well in item views { // Taken from QWindowsStyle... painter->save();