diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2011-02-17 13:25:07 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2011-02-17 16:03:49 (GMT) |
commit | 00f689370ce97d557f8af4596c780f381aa66cb7 (patch) | |
tree | aa53919e8dbd517700d01f8cee9535e514e19b69 /src/declarative/qml/qdeclarativeobjectscriptclass.cpp | |
parent | ebdbd453a7612b3764b2e423ecb97aa9fb6cd28e (diff) | |
download | Qt-00f689370ce97d557f8af4596c780f381aa66cb7.zip Qt-00f689370ce97d557f8af4596c780f381aa66cb7.tar.gz Qt-00f689370ce97d557f8af4596c780f381aa66cb7.tar.bz2 |
Fix warnings in QtDeclarative
Diffstat (limited to 'src/declarative/qml/qdeclarativeobjectscriptclass.cpp')
-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 2aa2059..dc3ecca 100644 --- a/src/declarative/qml/qdeclarativeobjectscriptclass.cpp +++ b/src/declarative/qml/qdeclarativeobjectscriptclass.cpp @@ -368,7 +368,7 @@ void QDeclarativeObjectScriptClass::setProperty(QObject *obj, newBinding = new QDeclarativeBinding(value, obj, evalContext); newBinding->setSourceLocation(ctxtInfo.fileName(), ctxtInfo.functionStartLineNumber()); newBinding->setTarget(QDeclarativePropertyPrivate::restore(*lastData, valueTypeData, obj, evalContext)); - if (newBinding->expression().contains("this")) + if (newBinding->expression().contains(QLatin1String("this"))) newBinding->setEvaluateFlags(newBinding->evaluateFlags() | QDeclarativeBinding::RequiresThisObject); } |