Fix TextWebChannel::testInvokeMethodConversion with latest qtbase
QVariant's comparison operator has been changed to no longer perform
type conversions, except for primitive numerical types, which causes
the test to fail in the QJsonValue case.
The comparison
QCOMPARE(retval, args.at(0).toVariant())
fails because retval is
QVariant(QJsonValue, QJsonValue(double, 1000)),
while args.at(0).toVariant() gives
QVariant(qlonglong, 1000).
Change args.at(0).toVariant() to QVariant(args.at(0)) to ensure that
both QVariants contain a QJsonValue.
Change-Id: I5c4102645b5c705ca5b68dc7d308f68c6630b1d5
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>