summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraphicswidget_p.cpp
diff options
context:
space:
mode:
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-04-20 08:02:05 (GMT)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>2009-04-20 13:53:57 (GMT)
commitc520a4c75d16948417f6c1a3f42508510be0b5f4 (patch)
tree8b4854c1077d645f523a4928f2f5aafde4191ba1 /src/gui/graphicsview/qgraphicswidget_p.cpp
parent9f668a352df15404234ea30bc9bb0c1ef774c1b0 (diff)
downloadQt-c520a4c75d16948417f6c1a3f42508510be0b5f4.zip
Qt-c520a4c75d16948417f6c1a3f42508510be0b5f4.tar.gz
Qt-c520a4c75d16948417f6c1a3f42508510be0b5f4.tar.bz2
Working on QGraphicsProxyWidget's handling of widget flags.
Diffstat (limited to 'src/gui/graphicsview/qgraphicswidget_p.cpp')
-rw-r--r--src/gui/graphicsview/qgraphicswidget_p.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicswidget_p.cpp b/src/gui/graphicsview/qgraphicswidget_p.cpp
index 06ffe73..4b41a31 100644
--- a/src/gui/graphicsview/qgraphicswidget_p.cpp
+++ b/src/gui/graphicsview/qgraphicswidget_p.cpp
@@ -67,8 +67,7 @@ void QGraphicsWidgetPrivate::init(QGraphicsItem *parentItem, Qt::WindowFlags wFl
focusNext = focusPrev = q;
focusPolicy = Qt::NoFocus;
- if (!parentItem)
- adjustWindowFlags(&wFlags);
+ adjustWindowFlags(&wFlags);
windowFlags = wFlags;
q->setParentItem(parentItem);