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:
Tobias Hunger 2013-08-29 11:29:55 +02:00 committed by The Qt Project
parent 275c940340
commit cee7380c04

View File

@ -1096,7 +1096,7 @@ void QRenderRule::fixupBorder(int nativeWidth)
bd->borders[i] = nativeWidth;
// intentional fall through
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;
break;
}