diff options
Diffstat (limited to 'tests/auto/qxmlitem/tst_qxmlitem.cpp')
-rw-r--r-- | tests/auto/qxmlitem/tst_qxmlitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qxmlitem/tst_qxmlitem.cpp b/tests/auto/qxmlitem/tst_qxmlitem.cpp index e608847..89768cd 100644 --- a/tests/auto/qxmlitem/tst_qxmlitem.cpp +++ b/tests/auto/qxmlitem/tst_qxmlitem.cpp @@ -352,7 +352,7 @@ void tst_QXmlItem::withinQVariant() const { QXmlItem val; const QVariant variant(qVariantFromValue(val)); - QXmlItem val2(qVariantValue<QXmlItem>(variant)); + QXmlItem val2(qvariant_cast<QXmlItem>(variant)); } QTEST_MAIN(tst_QXmlItem) |