summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/flowlayout/main.cpp
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-04 13:19:02 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-04 13:20:08 (GMT)
commit7aacb8b3ff5c4c998298207b355b9c301d736d34 (patch)
treea261fb5257271241331d1e0ff22a877826e8fdb4 /examples/graphicsview/flowlayout/main.cpp
parenta56acff4789521a7b6a6439dcb88e6d9ba4b7ada (diff)
downloadQt-7aacb8b3ff5c4c998298207b355b9c301d736d34.zip
Qt-7aacb8b3ff5c4c998298207b355b9c301d736d34.tar.gz
Qt-7aacb8b3ff5c4c998298207b355b9c301d736d34.tar.bz2
Make the view in the flowlayout example big enough.
Diffstat (limited to 'examples/graphicsview/flowlayout/main.cpp')
-rw-r--r--examples/graphicsview/flowlayout/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graphicsview/flowlayout/main.cpp b/examples/graphicsview/flowlayout/main.cpp
index 206f604..e672ae6 100644
--- a/examples/graphicsview/flowlayout/main.cpp
+++ b/examples/graphicsview/flowlayout/main.cpp
@@ -50,6 +50,7 @@ int main(int argc, char **argv)
QGraphicsView *view = new QGraphicsView(&scene);
Window *w = new Window;
scene.addItem(w);
+ view->resize(400, 300);
view->show();
return app.exec();
}