[Breeze widget style] Enable focus underline for QtQuick Controls
Review Request #128654 - Created Aug. 11, 2016 and submitted
|Kai Uwe Broulik|
This enables painting the focus underline also for QtQuick Controls and fixes an off-by-one error which caused the line to be rendered outside the QtQuick Controls canvas and was thus invisible.
Unfortunately I couldn't figure out a way to tell whether we're a QQC Button (like the widgets logic) does, so we now get a faint blue line (hard to tell with default colorscheme) at the bottom of QQC push buttons :(
option->styleObject && option->styleObject->property("elementType") == QLatin1String("button")
- Added Qt version check
Revision 3 (+8 -6)