the object, not its data.
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073566
This commit is contained in:
parent
0b9ae6270b
commit
fe764e43a0
@ -234,7 +234,7 @@ QScriptValue ByteArrayClass::toScriptValue(QScriptEngine *eng, const QByteArray
|
|||||||
|
|
||||||
void ByteArrayClass::fromScriptValue(const QScriptValue &obj, QByteArray &ba)
|
void ByteArrayClass::fromScriptValue(const QScriptValue &obj, QByteArray &ba)
|
||||||
{
|
{
|
||||||
ba = qvariant_cast<QByteArray>(obj.data().toVariant());
|
ba = obj.toVariant().toByteArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user