# HG changeset patch # User nemo # Date 1666620412 14400 # Node ID ed84eb580643a4cd29fa56514984d42a5baff4f4 # Parent fac577eb8756fe3f3ab074177fad47575cef3838 cfgdir needs a default value to avoid writing stubs to current path diff -r fac577eb8756 -r ed84eb580643 QTfrontend/main.cpp --- 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; }