fixes #8463 do not assume C for root

This commit is contained in:
sithlord48 2025-04-08 07:43:25 -04:00 committed by Nick Bolton
parent 16ef088c27
commit 84ae597d69

View file

@ -20,7 +20,7 @@ class Settings : public QObject
public:
#if defined(Q_OS_WIN)
inline const static auto UserDir = QStringLiteral("%1/AppData/Local/%2").arg(QDir::homePath(), kAppName);
inline const static auto SystemDir = QStringLiteral("C:/ProgramData/%1").arg(kAppName);
inline const static auto SystemDir = QStringLiteral("%1ProgramData/%2").arg(QDir::rootPath(), kAppName);
#elif defined(Q_OS_MAC)
inline const static auto UserDir = QStringLiteral("%1/Library/%2").arg(QDir::homePath(), kAppName);
inline const static auto SystemDir = QStringLiteral("/Library/%1").arg(kAppName);