diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/main.cpp b/src/main.cpp index e249247..ac2397e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,20 +47,7 @@ int main( int argc, char *argv[] ) mainWidget->resize( 700, 600 ); - return app.exec(); + int res = app.exec(); + delete mainWidget; + return res; } - - - - - - - - - - - - - - - |