aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pngdumper/pngdumper.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 17:16:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-09 12:26:01 +0200
commitc0621591831b2023558ef62a5d3f874e1c82f9e7 (patch)
tree32926bb20d6d093d74be3d52eccacfcc2fe00035 /tools/pngdumper/pngdumper.cpp
parent71cfda6b25552b57f7081d72c1e3bd74dc3d951c (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: I94117ba5452fc75684d1a576a12c294fd4c60a91 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'tools/pngdumper/pngdumper.cpp')
-rw-r--r--tools/pngdumper/pngdumper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pngdumper/pngdumper.cpp b/tools/pngdumper/pngdumper.cpp
index 08714be..81b046e 100644
--- a/tools/pngdumper/pngdumper.cpp
+++ b/tools/pngdumper/pngdumper.cpp
@@ -68,5 +68,5 @@ void ItemCapturer::grabItem(QQuickItem *item, QString filename)
void ItemCapturer::document(QString s)
{
- printf(s.toAscii().data());
+ printf(s.toLatin1().data());
}