https://bugs.kde.org/show_bug.cgi?id=397338

--- Comment #3 from Fabian Vogt <fab...@ritter-vogt.de> ---
The cause is that methods with a QVariant as a parameter type called from js
always get a QJSValue as QVariant.

Even passing trivial types such as integers results in a QVariant with a
QJSValue in it.

Fix is to use QJSValue as parameter directly and call param.toVariant().

I guess this needs to be done in quite some places...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to