summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-05-05 22:45:13 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-05-05 22:45:13 (GMT)
commit053fcebb7ef1b3899b656d511437a8139ee012b7 (patch)
tree034d4bdcfd705343987a31020e612ef21238684a /tools/qml/qmlruntime.cpp
parentd340dc6e4b3f1f4f8737d0d1d34e76ae68e007d6 (diff)
downloadQt-053fcebb7ef1b3899b656d511437a8139ee012b7.zip
Qt-053fcebb7ef1b3899b656d511437a8139ee012b7.tar.gz
Qt-053fcebb7ef1b3899b656d511437a8139ee012b7.tar.bz2
Initialize variable and crash less.
Diffstat (limited to 'tools/qml/qmlruntime.cpp')
-rw-r--r--tools/qml/qmlruntime.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qml/qmlruntime.cpp b/tools/qml/qmlruntime.cpp
index 1229df2..fe0f67c 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -469,6 +469,7 @@ QDeclarativeViewer::QDeclarativeViewer(QWidget *parent, Qt::WindowFlags flags)
, m_scriptOptions(0)
, tester(0)
, useQmlFileBrowser(true)
+ , translator(0)
{
QDeclarativeViewer::registerTypes();
setWindowTitle(tr("Qt Qml Runtime"));