summaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qfxtester.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlviewer/qfxtester.cpp')
-rw-r--r--tools/qmlviewer/qfxtester.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlviewer/qfxtester.cpp b/tools/qmlviewer/qfxtester.cpp
index 1d5175d..c3c0124 100644
--- a/tools/qmlviewer/qfxtester.cpp
+++ b/tools/qmlviewer/qfxtester.cpp
@@ -147,7 +147,7 @@ void QmlGraphicsTester::imagefailure()
void QmlGraphicsTester::complete()
{
if ((options & QmlViewer::TestErrorProperty) && !hasFailed) {
- QString e = m_view->root()->property("error").toString();
+ QString e = m_view->rootObject()->property("error").toString();
if (!e.isEmpty()) {
qWarning() << "Test failed:" << e;
hasFailed = true;