mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-25 19:41:37 -08:00
Use Q_OS_MAC instead of the nonexistent Q_OS_MACOS.
Thanks to Richard Johnson for spotting this. Closes #33
This commit is contained in:
1 parent
676be9da16
commit
965dba63d7
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ Config::Config(QObject* parent)
|
||||
QString userPath;
|
||||
QString homePath = QDir::homePath();
|
||||
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
|
||||
// we can't use QDesktopServices on X11 as it uses XDG_DATA_HOME instead of XDG_CONFIG_HOME
|
||||
QByteArray env = qgetenv("XDG_CONFIG_HOME");
|
||||
if (env.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user