From 2b3d92b211425a661ee2f9ee576ffe735d88c4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C5=99=C3=ADza?= Date: Thu, 19 Oct 2023 22:55:27 +0200 Subject: [PATCH] 1.6 release: Disable using keychain on macOS by default It shows a ton of popups when it's used for the first time (or every time if "Always allow" is not granted), it's really annoying to use at this state. --- modules/Lith/Core/settings.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/Lith/Core/settings.h b/modules/Lith/Core/settings.h index e177b19..3c2fe09 100644 --- a/modules/Lith/Core/settings.h +++ b/modules/Lith/Core/settings.h @@ -108,7 +108,11 @@ class LITHCORE_EXPORT Settings : public QObject { SETTING(bool, openLinksDirectly, false) SETTING(bool, openLinksDirectlyInBrowser, false) +#ifdef Q_OS_MACOS + SETTING(bool, encryptedCredentials, false) +#else SETTING(bool, encryptedCredentials, true) +#endif Q_PROPERTY(bool credentialEncryptionAvailable READ credentialEncryptionAvailable CONSTANT) static bool credentialEncryptionAvailable();