Don't run QtKeychain job in a nested event loop

Doing that causes deadlocks and there's no need for it here
This commit is contained in:
Tobias Fella
2024-08-24 11:21:20 +02:00
parent d99f69cc24
commit 8da567d9fa
4 changed files with 14 additions and 22 deletions

View File

@@ -86,7 +86,7 @@ public:
/**
* @brief Save an access token to the keychain for the given account.
*/
bool saveAccessTokenToKeyChain(const QString &userId, const QByteArray &accessToken);
void saveAccessTokenToKeyChain(const QString &userId, const QByteArray &accessToken);
[[nodiscard]] bool supportSystemTray() const;