merge branch
authornemo
Mon, 24 Oct 2022 10:07:35 -0400 (2022-10-24)
changeset 15886 5e8d2a8eb473
parent 15884 f9e1a7c8a658 (current diff)
parent 15885 ed84eb580643 (diff)
child 15887 fe519de9c270
merge branch
tools/pas2c/Pas2C.hs
--- a/QTfrontend/main.cpp	Mon Oct 24 10:02:06 2022 -0400
+++ b/QTfrontend/main.cpp	Mon Oct 24 10:07:35 2022 -0400
@@ -186,6 +186,7 @@
 }
 
 int main(int argc, char *argv[]) {
+    cfgdir->setPath(QDir::homePath());
 
     // Since we're calling this first, closeResources() will be the last thing called after main() returns.
     atexit(closeResources);
@@ -278,7 +279,6 @@
         }
         else
         {
-            cfgdir->setPath(QDir::homePath());
             custom_config = false;
         }