Just some code cleanup.

This flag is added to all items on the parent, so there's no need
to implement this on all of them.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-18 20:15:09 -02:00 committed by Dirk Hohndel
parent 8ae8c81d3d
commit 0c3eef1c4c

View file

@ -1478,12 +1478,6 @@ ExpanderGraphics::ExpanderGraphics(QGraphicsItem* parent): QGraphicsRectItem(par
decreaseBtn->setPixmap(QPixmap(":arrow_down"));
increaseBtn->setPixmap(QPixmap(":arrow_up"));
icon->setFlag(ItemIgnoresTransformations);
bg->setFlag(ItemIgnoresTransformations);
leftWing->setFlag(ItemIgnoresTransformations);
rightWing->setFlag(ItemIgnoresTransformations);
decreaseBtn->setFlag(ItemIgnoresTransformations);
increaseBtn->setFlag(ItemIgnoresTransformations);
setFlag(ItemIgnoresTransformations);
leftWing->setZValue(-2);
rightWing->setZValue(-2);