diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-18 20:15:09 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-18 16:42:04 -0800 |
commit | 0c3eef1c4c937553b88af8ad5b85484c155ff631 (patch) | |
tree | 8326f81ccc22598c41c9aea1e1ffaa019a9eb162 /qt-ui | |
parent | 8ae8c81d3d47e5ba6b7ea292c92a9527fc85994f (diff) | |
download | subsurface-0c3eef1c4c937553b88af8ad5b85484c155ff631.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index aefb4ef65..937490cb6 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -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); |