aboutsummaryrefslogtreecommitdiff
path: root/lib/settings.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-11-15 21:26:47 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:59 +0100
commit34db4fd1294e41765a5db58ee1a0c59712af62c6 (patch)
tree27a58367029402c66a9072b1ca17ce86d00a4e92 /lib/settings.cpp
parent82cffec29937e4449a75040485d5188f429b7b1e (diff)
downloadlibquotient-34db4fd1294e41765a5db58ee1a0c59712af62c6.tar.gz
libquotient-34db4fd1294e41765a5db58ee1a0c59712af62c6.zip
Various improvements and fixes
Diffstat (limited to 'lib/settings.cpp')
-rw-r--r--lib/settings.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/settings.cpp b/lib/settings.cpp
index ed9082b0..f9b4f471 100644
--- a/lib/settings.cpp
+++ b/lib/settings.cpp
@@ -136,18 +136,12 @@ void AccountSettings::clearAccessToken()
QByteArray AccountSettings::encryptionAccountPickle()
{
- QString passphrase = ""; // FIXME: add QtKeychain
return value("encryption_account_pickle", "").toByteArray();
}
void AccountSettings::setEncryptionAccountPickle(
const QByteArray& encryptionAccountPickle)
{
- qCWarning(MAIN)
- << "Saving encryption_account_pickle to QSettings is insecure."
- " Developers, do it manually or contribute to share QtKeychain "
- "logic to libQuotient.";
- QString passphrase = ""; // FIXME: add QtKeychain
setValue("encryption_account_pickle", encryptionAccountPickle);
}