QxtWebTemplate cast the assign value instead of wrapping it opaque
This commit is contained in:
parent
0c76fd5256
commit
3c9e1d72f1
|
@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user