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-04 15:27:59 +0200 |
commit | e563ca1a7512a48e4d3e205ac8807d61c070d3f7 (patch) | |
tree | 9fb1c8ac9d8053db9e4205aa381817035e4d1808 /examples/desktop | |
parent | c68d8ca76cd7000308d62943e156b0c9c6f9ae02 (diff) |
Change remaining uses of {to,from}Ascii to {to,from}Latin1 [platformsupport]
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: Ie1a4e5ceca21c31e7357f28b90abc9129b122104
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples/desktop')
-rw-r--r-- | examples/desktop/screenshot/screenshot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/desktop/screenshot/screenshot.cpp b/examples/desktop/screenshot/screenshot.cpp index 66467d439f..c9310c9e2f 100644 --- a/examples/desktop/screenshot/screenshot.cpp +++ b/examples/desktop/screenshot/screenshot.cpp @@ -102,7 +102,7 @@ void Screenshot::saveScreenshot() .arg(format.toUpper()) .arg(format)); if (!fileName.isEmpty()) - originalPixmap.save(fileName, format.toAscii().constData()); + originalPixmap.save(fileName, format.toLatin1().constData()); } //! [3] |