summaryrefslogtreecommitdiff
path: root/muse2/muse/main.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-01-16 04:23:15 +0000
committerTim E. Real <termtech@rogers.com>2013-01-16 04:23:15 +0000
commit78d5201caed32cb1e55de85287bd3b9fab325bd4 (patch)
tree36cf004042091701361f05c6732f609a99366f48 /muse2/muse/main.cpp
parentd3a41b3460275ce44c744aa88227a31be44a49c7 (diff)
Various usability fixes. Please see ChangeLog.
Diffstat (limited to 'muse2/muse/main.cpp')
-rw-r--r--muse2/muse/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/main.cpp b/muse2/muse/main.cpp
index 644fe65d..f1bf4f57 100644
--- a/muse2/muse/main.cpp
+++ b/muse2/muse/main.cpp
@@ -563,7 +563,7 @@ int main(int argc, char* argv[])
MusEGlobal::muse = new MusEGui::MusE();
app.setMuse(MusEGlobal::muse);
- MusEGui::init_function_dialogs(MusEGlobal::muse);
+ MusEGui::init_function_dialogs();
MusEGui::retranslate_function_dialogs();
// SHOW MUSE SPLASH SCREEN
@@ -733,6 +733,7 @@ int main(int argc, char* argv[])
if(MusEGlobal::debugMsg)
printf("app.exec() returned:%d\nDeleting main MusE object\n", rv);
delete MusEGlobal::muse;
+ MusEGui::destroy_function_dialogs();
if(MusEGlobal::debugMsg)
printf("Finished! Exiting main, return value:%d\n", rv);
return rv;