diff options
Diffstat (limited to 'tests/auto/qsourcelocation/tst_qsourcelocation.cpp')
-rw-r--r-- | tests/auto/qsourcelocation/tst_qsourcelocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp index b5ad007..b72c02b 100644 --- a/tests/auto/qsourcelocation/tst_qsourcelocation.cpp +++ b/tests/auto/qsourcelocation/tst_qsourcelocation.cpp @@ -336,7 +336,7 @@ void tst_QSourceLocation::withinQVariant() const { QSourceLocation val; const QVariant variant(qVariantFromValue(val)); - QSourceLocation val2(qVariantValue<QSourceLocation>(variant)); + QSourceLocation val2(qvariant_cast<QSourceLocation>(variant)); } void tst_QSourceLocation::debugStream() const |