QTfrontend/main.cpp
branch1.0.0
changeset 15885 ed84eb580643
parent 14887 a414d37278df
--- a/QTfrontend/main.cpp	Wed Sep 21 06:55:31 2022 +0300
+++ b/QTfrontend/main.cpp	Mon Oct 24 10:06:52 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;
         }