forked from qt-creator/qt-creator
StyleHelper: Remove unused variable
Change-Id: Ib0fbc9d894df605509541d5f7444241f253de8f0 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -316,7 +316,6 @@ void StyleHelper::drawArrow(QStyle::PrimitiveElement element, QPainter *painter,
|
||||
imagePainter.translate(sx + bsx, sy + bsy);
|
||||
|
||||
if (!(option->state & QStyle::State_Enabled)) {
|
||||
QColor foreGround(150, 150, 150, 150);
|
||||
imagePainter.setBrush(option->palette.mid().color());
|
||||
imagePainter.setPen(option->palette.mid().color());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user