diff options
author | Tobias Fella <fella@posteo.de> | 2021-12-10 00:12:39 +0100 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-10 00:12:39 +0100 |
commit | 7129118a7735a13af0db7d71efd60a330feac877 (patch) | |
tree | 59c6b0008a3471c19c1139bcabb0c630c41e581f /lib/connection.cpp | |
parent | b3be614b71b12e729d1bf3d6ca7d7068a0786fc8 (diff) | |
download | libquotient-7129118a7735a13af0db7d71efd60a330feac877.tar.gz libquotient-7129118a7735a13af0db7d71efd60a330feac877.zip |
ifdef more things
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 12 |
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; |