QxtWebTemplate cast the assign value instead of wrapping it opaque

This commit is contained in:
Arvid E. Picciani 2011-09-20 14:32:03 +02:00 committed by Arvid Ephraim Picciani
parent 0c76fd5256
commit 3c9e1d72f1

View File

@ -303,7 +303,7 @@ QString QxtWebTemplate::evaluate()
void QxtWebTemplate::assign(const QString &property, const QVariant &value)
{
d->engine->globalObject().setProperty(property,
d->engine->newVariant (value));
qScriptValueFromValue(d->engine,value));
}
/*