diff options
author | Tim E. Real <termtech@rogers.com> | 2013-01-27 11:51:23 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2013-01-27 11:51:23 +0000 |
commit | 3f99f3410d57b4377c38662b02e36186a019ad66 (patch) | |
tree | 06804038097eef0dbfe7a806c6f0473b61bd1bfb /muse2/muse/main.cpp | |
parent | 5fb1cdfe5bdd48406e58441b354fc87d3d3c582e (diff) |
Feature: Shortcuts dialog modeless + has default global shortcut Ctl+Shift+F1 + "Printable file" button.
Memory leaks! Many widgets and dialogs had no parent and were not deleted! See ChangeLog.
Diffstat (limited to 'muse2/muse/main.cpp')
-rw-r--r-- | muse2/muse/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/main.cpp b/muse2/muse/main.cpp index f1bf4f57..af3e2f0f 100644 --- a/muse2/muse/main.cpp +++ b/muse2/muse/main.cpp @@ -732,8 +732,8 @@ int main(int argc, char* argv[]) int rv = app.exec(); if(MusEGlobal::debugMsg) printf("app.exec() returned:%d\nDeleting main MusE object\n", rv); - delete MusEGlobal::muse; - MusEGui::destroy_function_dialogs(); + delete MusEGlobal::muse; + if(MusEGlobal::debugMsg) printf("Finished! Exiting main, return value:%d\n", rv); return rv; |