summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-09 05:17:07 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-09 05:17:07 (GMT)
commit1f0d3ac7038e9169634d8e923bac6380124faa47 (patch)
tree8fc7e1e6fd3b52a847bac3ae9ef86d2358337cfb
parentefc80769f3274d31e06308717d06a70a4249cced (diff)
downloadQt-1f0d3ac7038e9169634d8e923bac6380124faa47.zip
Qt-1f0d3ac7038e9169634d8e923bac6380124faa47.tar.gz
Qt-1f0d3ac7038e9169634d8e923bac6380124faa47.tar.bz2
unwarn
-rw-r--r--src/declarative/qml/qdeclarativescriptparser.cpp2
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.";