diff options
author | Gabriel de Dietrich <gabriel.dedietrich@digia.com> | 2013-03-27 14:47:44 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-27 17:16:37 +0100 |
commit | bbfbf9d24c370177b1d613921f65dd594a0ce9c6 (patch) | |
tree | b6358aa11e37b548910059804467782d0697caba | |
parent | 4ea11e82ec39a2c8d5a4507b414a52b3a9d462b4 (diff) |
Mac style: Remove suspicious assignment
Change-Id: I070eeb27b1630331afd7f4f02aadf97f6ea2bf97
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
-rw-r--r-- | src/widgets/styles/qmacstyle_mac.mm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/styles/qmacstyle_mac.mm b/src/widgets/styles/qmacstyle_mac.mm index 18f5881401..e39679ba65 100644 --- a/src/widgets/styles/qmacstyle_mac.mm +++ b/src/widgets/styles/qmacstyle_mac.mm @@ -3983,7 +3983,6 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter HIRect cr; bool needAlpha = mi->palette.color(QPalette::Button) == Qt::transparent; if (needAlpha) { - needAlpha = true; CGContextSaveGState(cg); CGContextSetAlpha(cg, 0.0); } |