forked from qt-creator/qt-creator
FancyToolButton::paintEvent remmove unused variables
Change-Id: I5eb7fa9d1efc06292ee22e9db195204e37f3aa4b Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -175,8 +175,6 @@ void FancyToolButton::paintEvent(QPaintEvent *event)
|
|||||||
painter.drawLine(rect().topLeft() - QPoint(0,1), rect().topRight() - QPoint(0,1));
|
painter.drawLine(rect().topLeft() - QPoint(0,1), rect().topRight() - QPoint(0,1));
|
||||||
painter.restore();
|
painter.restore();
|
||||||
}
|
}
|
||||||
QPixmap borderPixmap;
|
|
||||||
QMargins margins;
|
|
||||||
|
|
||||||
QRect iconRect(0, 0, Core::Constants::TARGET_ICON_SIZE, Core::Constants::TARGET_ICON_SIZE);
|
QRect iconRect(0, 0, Core::Constants::TARGET_ICON_SIZE, Core::Constants::TARGET_ICON_SIZE);
|
||||||
// draw popup texts
|
// draw popup texts
|
||||||
|
|||||||
Reference in New Issue
Block a user