From 0c3eef1c4c937553b88af8ad5b85484c155ff631 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 18 Nov 2013 20:15:09 -0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'qt-ui') 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); -- cgit v1.2.3-70-g09d2