diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-12-14 12:03:43 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2010-12-14 12:03:43 (GMT) |
commit | 542fe69cdeff81acb8f986ff4606043613345dc2 (patch) | |
tree | 0496d73cb0676e3e0abf6504ac79e341c930f6e1 /src/gui/graphicsview | |
parent | a79e7519a8109ac9065f1c3ed017c56c6e2d0810 (diff) | |
download | Qt-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.cpp | 2 |
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; } |