Mac style: Remove suspicious assignment
Change-Id: I070eeb27b1630331afd7f4f02aadf97f6ea2bf97 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
4ea11e82ec
commit
bbfbf9d24c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user