aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-10 00:12:39 +0100
committerTobias Fella <fella@posteo.de>2021-12-10 00:12:39 +0100
commit7129118a7735a13af0db7d71efd60a330feac877 (patch)
tree59c6b0008a3471c19c1139bcabb0c630c41e581f /lib/connection.cpp
parentb3be614b71b12e729d1bf3d6ca7d7068a0786fc8 (diff)
downloadlibquotient-7129118a7735a13af0db7d71efd60a330feac877.tar.gz
libquotient-7129118a7735a13af0db7d71efd60a330feac877.zip
ifdef more things
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 433dd942..d1a29a7d 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -39,6 +39,12 @@
# include "e2ee/qolmutils.h"
# include "encryptionmanager.h"
# include "database.h"
+
+#if QT_VERSION_MAJOR >= 6
+# include <qt6keychain/keychain.h>
+#else
+# include <qt5keychain/keychain.h>
+#endif
#endif // Quotient_E2EE_ENABLED
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
@@ -55,12 +61,6 @@
#include <QtCore/QStringBuilder>
#include <QtNetwork/QDnsLookup>
-#if QT_VERSION_MAJOR >= 6
-# include <qt6keychain/keychain.h>
-#else
-# include <qt5keychain/keychain.h>
-#endif
-
using namespace Quotient;