summaryrefslogtreecommitdiffstats
path: root/tools/qml/qmlruntime.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-05 23:34:51 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-05 23:34:51 (GMT)
commit8e023477777982d3aeb53d26ed61f7e8c1eb753c (patch)
treedf1aff03c37b1590e34e9780fedba2c4ca620e53 /tools/qml/qmlruntime.cpp
parent2df493e9f0660be7d9b5ba691883e13fa12cde72 (diff)
downloadQt-8e023477777982d3aeb53d26ed61f7e8c1eb753c.zip
Qt-8e023477777982d3aeb53d26ed61f7e8c1eb753c.tar.gz
Qt-8e023477777982d3aeb53d26ed61f7e8c1eb753c.tar.bz2
Another initialization fix. Unleak.
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 fe0f67c..d49b0f1 100644
--- a/tools/qml/qmlruntime.cpp
+++ b/tools/qml/qmlruntime.cpp
@@ -543,6 +543,7 @@ QDeclarativeViewer::QDeclarativeViewer(QWidget *parent, Qt::WindowFlags flags)
QDeclarativeViewer::~QDeclarativeViewer()
{
+ delete loggerWindow;
canvas->engine()->setNetworkAccessManagerFactory(0);
delete namFactory;
}