summaryrefslogtreecommitdiff
path: root/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.cpp
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-02-09 13:48:02 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-09 08:22:34 +0100
commitc8c1e22c0ba562de2d9a150fd5255b9d020848f2 (patch)
treea9084b2dcc93b7a31fc0b257174a04c5d08e36ff /tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.cpp
parent62b027bc2f7b57fd773611e148d8730e8aa7e41b (diff)
downloadqtscript-c8c1e22c0ba562de2d9a150fd5255b9d020848f2.tar.gz
Fixed tst_QScriptValue::toQObject for new QVariant cast behavior
ae85d7c965e7d50404c056a77c73bfe00267fa12 in qtbase allows QObject derived types to be extracted from a QVariant by value<QObject*>(), which was previously not possible. The change also applies to qscriptvalue_cast, so update this test for the new expected behavior. Note that the behavior of QScriptValue::toQObject has not been updated, which means the result of v.toQObject() vs qscriptvalue_cast<QObject*>(v) on the same QScriptValue may now give different results. Change-Id: I70007002dc89d094d76754e58cc9042b4b4f0f67 Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.cpp')
0 files changed, 0 insertions, 0 deletions