diff --git a/private/storagethread.cpp b/private/storagethread.cpp index dbc825ebf..58a6c7c58 100644 --- a/private/storagethread.cpp +++ b/private/storagethread.cpp @@ -166,7 +166,7 @@ void StorageThread::save(QWeakPointer wcaller, const QVariantMap &pa QByteArray b; QDataStream ds(&b, QIODevice::WriteOnly); ds << it.value(); - query.bindValue(field, ds); + query.bindValue(field, b); } else { query.bindValue(field, it.value()); }