summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2010-12-14 12:03:43 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2010-12-14 12:03:43 (GMT)
commit542fe69cdeff81acb8f986ff4606043613345dc2 (patch)
tree0496d73cb0676e3e0abf6504ac79e341c930f6e1 /src/gui/graphicsview
parenta79e7519a8109ac9065f1c3ed017c56c6e2d0810 (diff)
downloadQt-542fe69cdeff81acb8f986ff4606043613345dc2.zip
Qt-542fe69cdeff81acb8f986ff4606043613345dc2.tar.gz
Qt-542fe69cdeff81acb8f986ff4606043613345dc2.tar.bz2
Fix to commit 3778c3f5208f3db99d6b23a2a3c4abf1fe2ec64f
This is what could happen if you go to lunch before comitting.
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicslayoutitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicslayoutitem.cpp b/src/gui/graphicsview/qgraphicslayoutitem.cpp
index b11dc9e..0a24aae 100644
--- a/src/gui/graphicsview/qgraphicslayoutitem.cpp
+++ b/src/gui/graphicsview/qgraphicslayoutitem.cpp
@@ -399,7 +399,7 @@ QGraphicsLayoutItem::QGraphicsLayoutItem(QGraphicsLayoutItem *parent, bool isLay
{
Q_D(QGraphicsLayoutItem);
d->init();
- sizePolicy = QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+ d->sizePolicy = QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
d->q_ptr = this;
}