From 536980a5d4acfeec6dfd38aabfc63db2a0e2f5f5 Mon Sep 17 00:00:00 2001 From: VitorVieiraZ Date: Thu, 6 Feb 2025 17:48:14 -0300 Subject: [PATCH] chained writing --- core/credentialstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/credentialstore.cpp b/core/credentialstore.cpp index 5e512ca77..347f9a196 100644 --- a/core/credentialstore.cpp +++ b/core/credentialstore.cpp @@ -26,7 +26,7 @@ void CredentialStore::writeKey( const QString &key, const QVariant &value ) if ( value.type() == QVariant::ByteArray ) { - mWriteJob->setTextData( QString::fromUtf8( value.toByteArray().toBase64() ) ); + mWriteJob->setBinaryData( value.toByteArray() ); } else if ( value.type() == QVariant::DateTime ) {