summaryrefslogtreecommitdiff
path: root/muse2/muse/main.cpp
diff options
context:
space:
mode:
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;