the object, not its data. (if the trolls themselves can't get this stuff right ... ;)
svn path=/trunk/KDE/kdebase/runtime/; revision=1073565
This commit is contained in:
parent
6d466c00c5
commit
1ea98c3161
@ -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