diff options
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; |