Styles: Fix upRule used instead of downRule
Change-Id: Icd157fa522836fab9128322f98b2916cfff35c61 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
parent
fed439c243
commit
cb2549740e
@ -5271,7 +5271,7 @@ QRect QStyleSheetStyle::subControlRect(ComplexControl cc, const QStyleOptionComp
|
||||
QRenderRule downRule = renderRule(w, opt, PseudoElement_SpinBoxDownButton);
|
||||
bool ruleMatch = rule.hasBox() || !rule.hasNativeBorder();
|
||||
bool upRuleMatch = upRule.hasGeometry() || upRule.hasPosition();
|
||||
bool downRuleMatch = downRule.hasGeometry() || upRule.hasPosition();
|
||||
bool downRuleMatch = downRule.hasGeometry() || downRule.hasPosition();
|
||||
if (ruleMatch || upRuleMatch || downRuleMatch) {
|
||||
switch (sc) {
|
||||
case SC_SpinBoxFrame:
|
||||
|
Loading…
x
Reference in New Issue
Block a user