Fix storing binary data in StorageThread::save()
This makes the unit test plasma/tests/storagetest pass again :-)
This commit is contained in:
parent
c63464c103
commit
a85aa04ffd
@ -166,7 +166,7 @@ void StorageThread::save(QWeakPointer<StorageJob> wcaller, const QVariantMap &pa
|
|||||||
QByteArray b;
|
QByteArray b;
|
||||||
QDataStream ds(&b, QIODevice::WriteOnly);
|
QDataStream ds(&b, QIODevice::WriteOnly);
|
||||||
ds << it.value();
|
ds << it.value();
|
||||||
query.bindValue(field, ds);
|
query.bindValue(field, b);
|
||||||
} else {
|
} else {
|
||||||
query.bindValue(field, it.value());
|
query.bindValue(field, it.value());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user