summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-05-03 16:55:46 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-04 07:20:11 +0200
commit82037e9abc8e773f5443323623d2121ff4570233 (patch)
treedbd3c6405595e19960c637cb85f82a64faed4cfe /src/tools
parentef6ec3cd187aa2ec91b5f219dd0be2d0a67fd241 (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: Ifaf63e83903ab90286971983c151eaf2b1075c7a Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/servicefw/servicefw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/servicefw/servicefw.cpp b/src/tools/servicefw/servicefw.cpp
index 85330eb0..9988672c 100644
--- a/src/tools/servicefw/servicefw.cpp
+++ b/src/tools/servicefw/servicefw.cpp
@@ -120,7 +120,7 @@ void CommandProcessor::execute(const QStringList &options, const QString &cmd, c
if (!setOptions(options))
return;
- int methodIndex = metaObject()->indexOfMethod(cmd.toAscii() + "(QStringList)");
+ int methodIndex = metaObject()->indexOfMethod(cmd.toLatin1() + "(QStringList)");
if (methodIndex < 0) {
*stdoutStream << "Bad command: " << cmd << "\n\n";
showUsage();