aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlboundsignal.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-05-14 13:50:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-14 13:57:37 +0200
commitfd5c099eea26a8101e2cc0dc3237d1250158b895 (patch)
tree562e5f40ee504c9fdc4feb23070836150f70af63 /src/qml/qml/qqmlboundsignal.cpp
parenta1151929fffc765e128d72d170342020b34dd0b3 (diff)
QtQuick: Fix string related warnings, single character strings.
- Fix warnings about truncation from size_t to int (MSVC 2010, 64bit). - Remove single character strings. Change-Id: Iaf4406e4e04d55d2d8b762f3433269868842a6f9 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal.cpp')
-rw-r--r--src/qml/qml/qqmlboundsignal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlboundsignal.cpp b/src/qml/qml/qqmlboundsignal.cpp
index 8b3a39c12e..17237d4b78 100644
--- a/src/qml/qml/qqmlboundsignal.cpp
+++ b/src/qml/qml/qqmlboundsignal.cpp
@@ -104,7 +104,7 @@ QQmlBoundSignalExpression::~QQmlBoundSignalExpression()
QString QQmlBoundSignalExpression::expressionIdentifier(QQmlJavaScriptExpression *e)
{
QQmlBoundSignalExpression *This = static_cast<QQmlBoundSignalExpression *>(e);
- return QLatin1String("\"") + This->m_expression + QLatin1String("\"");
+ return QLatin1Char('"') + This->m_expression + QLatin1Char('"');
}
void QQmlBoundSignalExpression::expressionChanged(QQmlJavaScriptExpression *)