From 0cd5ce425e1e26854413914b0fc4e088372e5b4e Mon Sep 17 00:00:00 2001 From: jNullj <15849761+jNullj@users.noreply.github.com> Date: Fri, 25 Aug 2023 23:27:07 +0300 Subject: [PATCH] Improve code readability --- src/core/Config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/Config.cpp b/src/core/Config.cpp index f78e88abbf..fa74755b43 100644 --- a/src/core/Config.cpp +++ b/src/core/Config.cpp @@ -533,8 +533,7 @@ QPair Config::defaultConfigFiles() // On case-sensitive Operating Systems, force use of lowercase app directories configPath = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + "/keepassxc"; // Qt does not support XDG_STATE_HOME yet, change this once XDG_STATE_HOME is added - QString xdgStateHome; - xdgStateHome = QFile::decodeName(qgetenv("XDG_STATE_HOME")); + QString xdgStateHome = QFile::decodeName(qgetenv("XDG_STATE_HOME")); if (!xdgStateHome.startsWith(u'/')) { xdgStateHome.clear(); // spec says relative paths should be ignored }