Add data() to all QString::toASCII Qt calls to help out Linux compiler
https://codereview.appspot.com/7232052/
git-svn-id: http://skia.googlecode.com/svn/trunk@7419 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/debuggermain.cpp b/debugger/debuggermain.cpp
index 8440052..f749911 100644
--- a/debugger/debuggermain.cpp
+++ b/debugger/debuggermain.cpp
@@ -29,7 +29,7 @@
QStringList::const_iterator iter = argList.begin();
- SkString commandName(iter->toAscii());
+ SkString commandName(iter->toAscii().data());
++iter; // skip the command name
for ( ; iter != argList.end(); ++iter) {
@@ -37,7 +37,7 @@
usage(commandName.c_str());
return -1;
} else if (input.isEmpty()) {
- input = SkString(iter->toAscii());
+ input = SkString(iter->toAscii().data());
} else {
usage(commandName.c_str());
return -1;