summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-09-18 12:54:44 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2009-09-18 12:54:44 (GMT)
commit0e7e62eb6afbc1f20d08b837643009cec8eaacb9 (patch)
tree1eb5f9fb0194b8a9ffa1d9ab961a0ac68db7508a /examples
parentb88bcd68a62ab8ed348bc698f7342346963bb7c0 (diff)
parent421e02d7b48b4a852a4aa1e6feb781a64f0981b4 (diff)
downloadQt-0e7e62eb6afbc1f20d08b837643009cec8eaacb9.zip
Qt-0e7e62eb6afbc1f20d08b837643009cec8eaacb9.tar.gz
Qt-0e7e62eb6afbc1f20d08b837643009cec8eaacb9.tar.bz2
Merge commit 'origin/4.6' into kinetic-declarativeui
Conflicts: configure.exe
Diffstat (limited to 'examples')
-rw-r--r--examples/graphicsview/anchorlayout/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graphicsview/anchorlayout/main.cpp b/examples/graphicsview/anchorlayout/main.cpp
index a4bf1d0..3e19f18 100644
--- a/examples/graphicsview/anchorlayout/main.cpp
+++ b/examples/graphicsview/anchorlayout/main.cpp
@@ -56,6 +56,7 @@ static QGraphicsProxyWidget *createItem(const QSizeF &minimum = QSizeF(100.0, 10
w->setPreferredSize(preferred);
w->setMaximumSize(maximum);
+ w->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
return w;
}