diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-12-10 06:04:25 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-12-10 06:04:25 (GMT) |
commit | 4768a1ee67945e09d7f94cf881eb9c4a56e9c969 (patch) | |
tree | 938783a50f745c16156a15a0323c344b38ef90f9 /examples | |
parent | a02104fec44e2ea1953f73881d4d6c6cf12974e4 (diff) | |
parent | 94d45cc06dabb8b1f8fc98e9f9b3dfaf49d0c4d7 (diff) | |
download | Qt-4768a1ee67945e09d7f94cf881eb9c4a56e9c969.zip Qt-4768a1ee67945e09d7f94cf881eb9c4a56e9c969.tar.gz Qt-4768a1ee67945e09d7f94cf881eb9c4a56e9c969.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Diffstat (limited to 'examples')
-rw-r--r-- | examples/graphicsview/anchorlayout/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graphicsview/anchorlayout/main.cpp b/examples/graphicsview/anchorlayout/main.cpp index f898d1d..389bc9e 100644 --- a/examples/graphicsview/anchorlayout/main.cpp +++ b/examples/graphicsview/anchorlayout/main.cpp @@ -122,8 +122,8 @@ int main(int argc, char **argv) scene.addItem(w); scene.setBackgroundBrush(Qt::darkGreen); - QGraphicsView *view = new QGraphicsView(&scene); - view->show(); + QGraphicsView view(&scene); + view.show(); return app.exec(); } |