summaryrefslogtreecommitdiff
path: root/tests/manual
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-05-27 13:32:20 +0200
committerhjk <hjk@qt.io>2019-05-27 12:33:29 +0000
commit19e1cf1520c313f0dbecac649b8f1270acfbe2d3 (patch)
tree21784605725cba8f809c5fbac5e431cc91d9812f /tests/manual
parentf7d224bf58894ea4f4b5df0abd28abec46964ded (diff)
downloadqt-creator-19e1cf1520c313f0dbecac649b8f1270acfbe2d3.tar.gz
Replace uses of qVariantFromValue with QVariant::fromValue
Deprecated in Qt 5.14, alternative has been around since Qt 4 at least. Change-Id: I4e3a53c289088368609e0d0ce2405a832d311308 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/debugger/simple/simple_test_app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index c6bf423a5c..29286f37e3 100644
--- a/tests/manual/debugger/simple/simple_test_app.cpp
+++ b/tests/manual/debugger/simple/simple_test_app.cpp
@@ -4566,7 +4566,7 @@ namespace qvariant {
#if QT_VERSION > 0x050000
QList<int> list;
list << 1 << 2 << 3;
- QVariant variant = qVariantFromValue(list);
+ QVariant variant = QVariant::fromValue(list);
BREAK_HERE;
// Expand list variant variant.data.
// Check list <3 items> QList<int>.