diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-09 05:17:07 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-09 05:17:07 (GMT) |
commit | 1f0d3ac7038e9169634d8e923bac6380124faa47 (patch) | |
tree | 8fc7e1e6fd3b52a847bac3ae9ef86d2358337cfb /src/declarative | |
parent | efc80769f3274d31e06308717d06a70a4249cced (diff) | |
download | Qt-1f0d3ac7038e9169634d8e923bac6380124faa47.zip Qt-1f0d3ac7038e9169634d8e923bac6380124faa47.tar.gz Qt-1f0d3ac7038e9169634d8e923bac6380124faa47.tar.bz2 |
unwarn
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qdeclarativescriptparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativescriptparser.cpp b/src/declarative/qml/qdeclarativescriptparser.cpp index 92a10aa..ac49332 100644 --- a/src/declarative/qml/qdeclarativescriptparser.cpp +++ b/src/declarative/qml/qdeclarativescriptparser.cpp @@ -647,7 +647,7 @@ bool ProcessAST::visit(AST::UiPublicMember *node) property.location = location(node->firstSourceLocation(), node->lastSourceLocation()); - if (memberType == QByteArray("var")) + if (memberType == QLatin1String("var")) qWarning().nospace() << qPrintable(_parser->_scriptFile) << ":" << property.location.start.line << ":" << property.location.start.column << ": var type has been replaced by variant. " << "Support will be removed entirely shortly."; |