Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2022-10-16 14:29:30 +0300
committerJanek Bevendorff <janek@keepassxc.org>2022-10-17 23:55:11 +0300
commit08f7c6f863d31346c099de748683f7fb990f1989 (patch)
tree977896729668354cf54e228497fed61e0fa533f3
parent7fa3e6ef9090439666addb2390f64db29c2541f8 (diff)
Fix use of WITH_XC_X11 build flag
-rw-r--r--src/config-keepassx.h.cmake1
-rw-r--r--src/gui/osutils/nixutils/NixUtils.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/config-keepassx.h.cmake b/src/config-keepassx.h.cmake
index 33d654847..a67b1b3a0 100644
--- a/src/config-keepassx.h.cmake
+++ b/src/config-keepassx.h.cmake
@@ -21,6 +21,7 @@
#cmakedefine WITH_XC_UPDATECHECK
#cmakedefine WITH_XC_FDOSECRETS
#cmakedefine WITH_XC_DOCS
+#cmakedefine WITH_XC_X11
#cmakedefine KEEPASSXC_BUILD_TYPE "@KEEPASSXC_BUILD_TYPE@"
#cmakedefine KEEPASSXC_BUILD_TYPE_RELEASE
diff --git a/src/gui/osutils/nixutils/NixUtils.cpp b/src/gui/osutils/nixutils/NixUtils.cpp
index e75306000..030b54582 100644
--- a/src/gui/osutils/nixutils/NixUtils.cpp
+++ b/src/gui/osutils/nixutils/NixUtils.cpp
@@ -17,6 +17,8 @@
#include "NixUtils.h"
+#include "config-keepassx.h"
+
#include <QApplication>
#include <QDBusInterface>
#include <QDir>
@@ -24,7 +26,7 @@
#include <QStandardPaths>
#include <QStyle>
#include <QTextStream>
-#ifdef WITH_XC_AUTOTYPE
+#ifdef WITH_XC_X11
#include <QX11Info>
#include <qpa/qplatformnativeinterface.h>