diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-09-18 16:06:36 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-18 16:27:58 (GMT) |
commit | fece4080b02a8edfd743919bb694bd8e9c1e1271 (patch) | |
tree | 0157f7026de2f71f84c5e6d6250c69997d19423e /src/gui/styles | |
parent | 87a8e182cbecde15fbf0af439b77a0ec7146274e (diff) | |
download | Qt-fece4080b02a8edfd743919bb694bd8e9c1e1271.zip Qt-fece4080b02a8edfd743919bb694bd8e9c1e1271.tar.gz Qt-fece4080b02a8edfd743919bb694bd8e9c1e1271.tar.bz2 |
A pen/brush can be invalid and have a valid color
This code is wrong:
if (brush != Qt::NoBrush)
...
It should be:
if (brush.style() != Qt::NoBrush)
...
Reviewed-by: Jervey Kong <jervey.kong@nokia.com>
Diffstat (limited to 'src/gui/styles')
0 files changed, 0 insertions, 0 deletions