summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-01 00:06:55 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-01 00:06:55 (GMT)
commit9a358c882ceaa573b82e7a29ef89566196d7d70b (patch)
treee04cc1a9fa1196b1e835b14df92b564b43b5c9df /src/declarative/qml/qmlengine.cpp
parent927ba2101c3ebe8513558e74527da8db69ad1292 (diff)
downloadQt-9a358c882ceaa573b82e7a29ef89566196d7d70b.zip
Qt-9a358c882ceaa573b82e7a29ef89566196d7d70b.tar.gz
Qt-9a358c882ceaa573b82e7a29ef89566196d7d70b.tar.bz2
Fix warnings.
Diffstat (limited to 'src/declarative/qml/qmlengine.cpp')
-rw-r--r--src/declarative/qml/qmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 9ee2f8d..294e333 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -1551,7 +1551,7 @@ QmlObjectScriptClass::QmlObjectScriptClass(QmlEngine *bindEngine)
{
engine = bindEngine;
prototypeObject = engine->scriptEngine()->newObject();
- prototypeObject.setProperty("destroy",
+ prototypeObject.setProperty(QLatin1String("destroy"),
engine->scriptEngine()->newFunction(QmlObjectDestroy));
}