Skip to content

Commit

Permalink
only try to include qt6-keychain header and not the qt5 version
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed Sep 18, 2023
1 parent fc8588f commit dc71c20
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/libsync/clientsideencryption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "common/constants.h"
#include "wordlist.h"

#include <qt5keychain/keychain.h>
#include <qt6keychain/keychain.h>

#include <QDebug>
#include <QLoggingCategory>
Expand All @@ -34,12 +34,6 @@
#include <QRandomGenerator>
#include <QCryptographicHash>

#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#include <qt6keychain/keychain.h>
#else
#include <qt5keychain/keychain.h>
#endif

#include <map>
#include <string>
#include <algorithm>
Expand Down

0 comments on commit dc71c20

Please sign in to comment.