QStyleSheetStyle: Fix (!a != b)
The '!' binds to a, so the comparison is not what is expected. Change-Id: I9192d16e901a9ba6dd13625be544cce6b2fd78c6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
275c940340
commit
cee7380c04
@ -1096,7 +1096,7 @@ void QRenderRule::fixupBorder(int nativeWidth)
|
|||||||
bd->borders[i] = nativeWidth;
|
bd->borders[i] = nativeWidth;
|
||||||
// intentional fall through
|
// intentional fall through
|
||||||
default:
|
default:
|
||||||
if (!bd->colors[i].style() != Qt::NoBrush) // auto-acquire 'color'
|
if (bd->colors[i].style() == Qt::NoBrush) // auto-acquire 'color'
|
||||||
bd->colors[i] = color;
|
bd->colors[i] = color;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user