Skip to content

Commit

Permalink
Initialize Config early
Browse files Browse the repository at this point in the history
* Use the native application name for the config folder versus the camel-case name defined later
* Fixes #4835
  • Loading branch information
droidmonkey committed Jun 11, 2020
1 parent c68f487 commit 8f837bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 8f837bb

Please sign in to comment.