From 76846a183e956abfa1ae950a6fe9e58edfeb2a56 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Thu, 27 Jun 2019 15:45:40 +0200 Subject: Remove usages of qVariantFromValue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-76491 Change-Id: I9768265db2d1f5ff47aa5b292491024f4ef721e7 Reviewed-by: Michael BrĂ¼ning --- tests/quicktestbrowser/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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())); -- cgit v1.2.3