From c70f59d7b69c4306f7d16bb55407039facafa0d4 Mon Sep 17 00:00:00 2001 From: Rosalie Wanders Date: Wed, 6 Sep 2023 01:30:03 +0200 Subject: [PATCH] RMG: adjust the directory code in main.cpp --- Source/RMG/main.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Source/RMG/main.cpp b/Source/RMG/main.cpp index 690896b2..f04ab5ca 100644 --- a/Source/RMG/main.cpp +++ b/Source/RMG/main.cpp @@ -11,8 +11,8 @@ #include #include -#include #include +#include #include #include @@ -138,7 +138,15 @@ int main(int argc, char **argv) UserInterface::MainWindow window; #ifdef PORTABLE_INSTALL - QDir::setCurrent(app.applicationDirPath()); + // we have to keep backwards compatability + // with