diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-02 16:32:26 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-03 06:10:20 +0200 |
commit | 1eac22a1b9dad7f843916afa9b7c820aa1c23777 (patch) | |
tree | 4a109a87d3bd7c560e6e40efd7ff15678a8dd0a0 /src/widgets/styles/qstylesheetstyle.cpp | |
parent | 425b925b7e9dd818f2a58fd7bc77bfe8475e6483 (diff) |
Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtWidgets]
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: Ie8ac500f2f8ebe99b7525feaa7b39247e641a461
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/styles/qstylesheetstyle.cpp')
-rw-r--r-- | src/widgets/styles/qstylesheetstyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp index 89e8f59315..46bf836369 100644 --- a/src/widgets/styles/qstylesheetstyle.cpp +++ b/src/widgets/styles/qstylesheetstyle.cpp @@ -691,7 +691,7 @@ static QList<QVariant> subControlLayout(const QString& layout) { QList<QVariant> buttons; for (int i = 0; i < layout.count(); i++) { - int button = layout[i].toAscii(); + int button = layout[i].toLatin1(); switch (button) { case 'm': buttons.append(PseudoElement_MdiMinButton); |