summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-08-04 12:13:57 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-08-04 12:13:57 (GMT)
commit2764dc0a0f4f8f6c87e716817ae99a7b57cdd23e (patch)
tree47b96336ff4857ce8ec53ec2f3bb8f7fe6044713 /src/gui
parent232569c52844a4f661fe55001015ad5da5097ce7 (diff)
downloadQt-2764dc0a0f4f8f6c87e716817ae99a7b57cdd23e.zip
Qt-2764dc0a0f4f8f6c87e716817ae99a7b57cdd23e.tar.gz
Qt-2764dc0a0f4f8f6c87e716817ae99a7b57cdd23e.tar.bz2
Fix indentation.
Reviewed-by:TrustMe
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicsitem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp
index 7b650d2..40331fb 100644
--- a/src/gui/graphicsview/qgraphicsitem.cpp
+++ b/src/gui/graphicsview/qgraphicsitem.cpp
@@ -640,7 +640,9 @@ void QGraphicsItemPrivate::updateAncestorFlag(QGraphicsItem::GraphicsItemFlag ch
if (parent) {
// Inherit the enabled-state from our parents.
- if ((parent->d_ptr->ancestorFlags & flag) || (int(parent->d_ptr->flags & childFlag) == childFlag) || (childFlag == -1 && parent->d_ptr->handlesChildEvents)) {
+ if ((parent->d_ptr->ancestorFlags & flag)
+ || (int(parent->d_ptr->flags & childFlag) == childFlag)
+ || (childFlag == -1 && parent->d_ptr->handlesChildEvents)) {
enabled = true;
ancestorFlags |= flag;
} else {