From 8f837bb6b59d86a19449f4ff5d947f5b3dc49446 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Thu, 11 Jun 2020 07:16:19 -0400 Subject: [PATCH] Initialize Config early * Use the native application name for the config folder versus the camel-case name defined later * Fixes #4835 --- src/gui/Application.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/Application.cpp b/src/gui/Application.cpp index 273ab8763d..860656b808 100644 --- a/src/gui/Application.cpp +++ b/src/gui/Application.cpp @@ -68,6 +68,10 @@ Application::Application(int& argc, char** argv) registerUnixSignals(); #endif + // Initialize Config early to use the native application name + // instead of the camel-case name defined later + Q_UNUSED(config()); + QString userName = qgetenv("USER"); if (userName.isEmpty()) { userName = qgetenv("USERNAME");