Mac style: Remove suspicious assignment

Change-Id: I070eeb27b1630331afd7f4f02aadf97f6ea2bf97
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
Gabriel de Dietrich 2013-03-27 14:47:44 +01:00 committed by The Qt Project
parent 4ea11e82ec
commit bbfbf9d24c

View File

@ -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);
}