Fix MSVC warning C4819 under Chinese locale
authorDebao Zhang <hello@debao.me>
Wed, 6 Mar 2013 08:57:44 +0000 (16:57 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 11 Mar 2013 16:31:39 +0000 (17:31 +0100)
warning C4819: The file contains a character that cannot be represented in
the current code page (936)

Change-Id: I53dc345e03b0ec6f951bd2763bc1bab4aef63d04
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
src/quick/items/qquickitem.cpp

index 8f68f6f..62bc70b 100644 (file)
@@ -3998,8 +3998,8 @@ void QQuickItemPrivate::setState(const QString &state)
 
     This property holds the name of the current state of the item.
 
-    If the item is in its default state — that is, no explicit state has been
-    set — then this property holds an empty string. Likewise, you can return
+    If the item is in its default state, that is, no explicit state has been
+    set, then this property holds an empty string. Likewise, you can return
     an item to its default state by setting this property to an empty string.
 
     \sa {Qt Quick States}
@@ -4009,8 +4009,8 @@ void QQuickItemPrivate::setState(const QString &state)
 
     This property holds the name of the current state of the item.
 
-    If the item is in its default state — that is, no explicit state has been
-    set — then this property holds an empty string. Likewise, you can return
+    If the item is in its default state, that is, no explicit state has been
+    set, then this property holds an empty string. Likewise, you can return
     an item to its default state by setting this property to an empty string.
 
     \sa {Qt Quick States}