summaryrefslogtreecommitdiffstats
path: root/tests/quicktestbrowser
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-06-27 15:45:40 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-07-05 18:27:54 +0200
commit76846a183e956abfa1ae950a6fe9e58edfeb2a56 (patch)
tree813e843de6de568b2915544d90ba96b589a3e0db /tests/quicktestbrowser
parent0884fab3b161b62c1e2bb1bac6bbd74560f06232 (diff)
Remove usages of qVariantFromValue
Task-number: QTBUG-76491 Change-Id: I9768265db2d1f5ff47aa5b292491024f4ef721e7 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'tests/quicktestbrowser')
-rw-r--r--tests/quicktestbrowser/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/quicktestbrowser/main.cpp b/tests/quicktestbrowser/main.cpp
index 00c1ee4ad..b886564f3 100644
--- a/tests/quicktestbrowser/main.cpp
+++ b/tests/quicktestbrowser/main.cpp
@@ -88,7 +88,7 @@ int main(int argc, char **argv)
index = rootMeta->indexOfProperty("testProfile");
Q_ASSERT(index != -1);
QMetaProperty profileProperty = rootMeta->property(index);
- profileProperty.write(rootObject, qVariantFromValue(profile));
+ profileProperty.write(rootObject, QVariant::fromValue(profile));
QMetaObject::invokeMethod(rootObject, "load", Q_ARG(QVariant, startupUrl()));