diff options
author | Thiago Macieira <[email protected]> | 2012-05-03 14:42:53 +0200 |
---|---|---|
committer | Qt by Nokia <[email protected]> | 2012-05-04 10:36:17 +0200 |
commit | 44f9412bf789d73dd462292038686f5b07026132 (patch) | |
tree | 8f0c57c9c9a72317bed52b18519944b0b6ce87a9 /src/plugins/accessible/quick | |
parent | c96c1d152c8506afb3993f23ac7cf35e46fb808f (diff) |
Change uses of {to,from}Ascii to {to,from}Latin1
This operation should be a no-op anyway, since at this point in time,
the fromAscii and toAscii functions simply call their fromLatin1 and
toLatin1 counterparts.
Task-number: QTBUG-21872
Change-Id: I03084595ddc425a988374b8352fd23e9504ffba6
Reviewed-by: Alan Alpert <[email protected]>
Diffstat (limited to 'src/plugins/accessible/quick')
-rw-r--r-- | src/plugins/accessible/quick/qaccessiblequickitem.cpp | 2 | ||||
-rw-r--r-- | src/plugins/accessible/quick/qaccessiblequickview.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/accessible/quick/qaccessiblequickitem.cpp b/src/plugins/accessible/quick/qaccessiblequickitem.cpp index d282b04eaf..99db9fa626 100644 --- a/src/plugins/accessible/quick/qaccessiblequickitem.cpp +++ b/src/plugins/accessible/quick/qaccessiblequickitem.cpp @@ -211,7 +211,7 @@ QString QAccessibleQuickItem::text(QAccessible::Text textType) const #ifdef Q_ACCESSIBLE_QUICK_ITEM_ENABLE_DEBUG_DESCRIPTION case QAccessible::DebugDescription: { QString debugString; - debugString = QString::fromAscii(object()->metaObject()->className()) + QLatin1Char(' '); + debugString = QString::fromLatin1(object()->metaObject()->className()) + QLatin1Char(' '); debugString += isAccessible() ? QLatin1String("enabled") : QLatin1String("disabled"); return debugString; break; } diff --git a/src/plugins/accessible/quick/qaccessiblequickview.cpp b/src/plugins/accessible/quick/qaccessiblequickview.cpp index ed8167f4d1..5f66f00d8a 100644 --- a/src/plugins/accessible/quick/qaccessiblequickview.cpp +++ b/src/plugins/accessible/quick/qaccessiblequickview.cpp @@ -102,7 +102,7 @@ QString QAccessibleQuickView::text(QAccessible::Text text) const { #ifdef Q_ACCESSIBLE_QUICK_ITEM_ENABLE_DEBUG_DESCRIPTION if (text == QAccessible::DebugDescription) { - return QString::fromAscii(object()->metaObject()->className()) ; + return QString::fromLatin1(object()->metaObject()->className()) ; } #else Q_UNUSED(text) |