summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-23 06:46:44 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-23 06:46:44 (GMT)
commit5ffd6c0fba0ecc709551e414ed0649de15ac3754 (patch)
tree7db7006ef6349b48a75729766362e44d06999442 /tools
parent113e350e36c0ff31824bc238160094814dc3fb4f (diff)
downloadQt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.zip
Qt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.tar.gz
Qt-5ffd6c0fba0ecc709551e414ed0649de15ac3754.tar.bz2
Remove QmlView::execute(). QmlView::setSource() does it all now.
Task-number: QT-2538
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlviewer/qmlviewer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/qmlviewer/qmlviewer.cpp b/tools/qmlviewer/qmlviewer.cpp
index 626e4c4..f881cd7 100644
--- a/tools/qmlviewer/qmlviewer.cpp
+++ b/tools/qmlviewer/qmlviewer.cpp
@@ -1063,11 +1063,11 @@ void QmlViewer::openQml(const QString& file_or_url)
}
}
- canvas->setSource(url);
-
QTime t;
t.start();
- canvas->execute();
+
+ canvas->setSource(url);
+
qWarning() << "Wall startup time:" << t.elapsed();
if (!skin) {