diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-05-05 22:45:13 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-05-05 22:45:13 (GMT) |
commit | 053fcebb7ef1b3899b656d511437a8139ee012b7 (patch) | |
tree | 034d4bdcfd705343987a31020e612ef21238684a /tools/qml | |
parent | d340dc6e4b3f1f4f8737d0d1d34e76ae68e007d6 (diff) | |
download | Qt-053fcebb7ef1b3899b656d511437a8139ee012b7.zip Qt-053fcebb7ef1b3899b656d511437a8139ee012b7.tar.gz Qt-053fcebb7ef1b3899b656d511437a8139ee012b7.tar.bz2 |
Initialize variable and crash less.
Diffstat (limited to 'tools/qml')
-rw-r--r-- | tools/qml/qmlruntime.cpp | 1 |
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")); |