diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-30 00:56:57 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-30 05:27:24 (GMT) |
commit | e900d3b5c026ede908a5b8623f044fff6421fdeb (patch) | |
tree | ba669fcd22312576fd3ad2b0d721c86c4bd5859f /src/declarative/qml | |
parent | b57ad033b5fa48efd2e57f17d26f541f1f50dc02 (diff) | |
download | Qt-e900d3b5c026ede908a5b8623f044fff6421fdeb.zip Qt-e900d3b5c026ede908a5b8623f044fff6421fdeb.tar.gz Qt-e900d3b5c026ede908a5b8623f044fff6421fdeb.tar.bz2 |
Fix error string
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/qdeclarativeobjectscriptclass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeobjectscriptclass.cpp b/src/declarative/qml/qdeclarativeobjectscriptclass.cpp index 33e47fb..03366f0 100644 --- a/src/declarative/qml/qdeclarativeobjectscriptclass.cpp +++ b/src/declarative/qml/qdeclarativeobjectscriptclass.cpp @@ -444,7 +444,7 @@ QScriptValue QDeclarativeObjectScriptClass::destroy(QScriptContext *context, QSc QDeclarativeData *ddata = QDeclarativeData::get(data->object, false); if (!ddata || ddata->indestructible) - return engine->currentContext()->throwError(QLatin1String("Invalid attempt to destroy() an indestructible object")); + return engine->currentContext()->throwError(QLatin1String("Invalid attempt to destroy() an indestructible object")); QObject *obj = data->object; int delay = 0; |