Changeset View
Changeset View
Standalone View
Standalone View
files/0001-Support-stateless-config-directories.patch
- This file was added.
| From 3c3f0a5f0b2c74a2260e693c66e1437f60d99464 Mon Sep 17 00:00:00 2001 | |||||
| From: "F. von Gellhorn" <flinux@vongellhorn.ch> | |||||
| Date: Sun, 8 Nov 2020 20:56:39 +0100 | |||||
| Subject: [PATCH 1/1] Support stateless config directories | |||||
| --- | |||||
| src/corelib/io/qstandardpaths_unix.cpp | 2 +- | |||||
| 1 file changed, 1 insertion(+), 1 deletion(-) | |||||
| diff --git a/src/corelib/io/qstandardpaths_unix.cpp b/src/corelib/io/qstandardpaths_unix.cpp | |||||
| index 2623de0f..34fbe98c 100644 | |||||
| --- a/src/corelib/io/qstandardpaths_unix.cpp | |||||
| +++ b/src/corelib/io/qstandardpaths_unix.cpp | |||||
| @@ -378,7 +378,7 @@ static QStringList xdgConfigDirs() | |||||
| // http://standards.freedesktop.org/basedir-spec/latest/ | |||||
| const QString xdgConfigDirs = QFile::decodeName(qgetenv("XDG_CONFIG_DIRS")); | |||||
| if (xdgConfigDirs.isEmpty()) | |||||
| - dirs.append(QString::fromLatin1("/etc/xdg")); | |||||
| + dirs.append(QString::fromLatin1("/usr/share/xdg")); | |||||
| else | |||||
| dirs = xdgConfigDirs.split(QLatin1Char(':')); | |||||
| return dirs; | |||||
| -- | |||||
| 2.29.2 | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.