diff options
Diffstat (limited to 'examples/graphicsview')
-rw-r--r-- | examples/graphicsview/anchorlayout/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/graphicsview/anchorlayout/main.cpp b/examples/graphicsview/anchorlayout/main.cpp index d7563be..1436aca 100644 --- a/examples/graphicsview/anchorlayout/main.cpp +++ b/examples/graphicsview/anchorlayout/main.cpp @@ -138,7 +138,12 @@ int main(int argc, char **argv) test.connect(&timer, SIGNAL(timeout()), SLOT(onTimer())); timer.start(5000); - return app.exec(); + int rc = app.exec(); + + delete scene; + delete view; + + return rc; } #include "main.moc" |