aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/debuggermain.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 19:25:43 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-28 19:25:43 +0000
commite219baf74742ee5cda3c99fabe6acaa8f878fe00 (patch)
tree2ebf739ff913c70d584f60248b5d5cc2b6f9f9d9 /debugger/debuggermain.cpp
parentff6e6bade36c34a4c4fce4c14b480b9d2435bcd5 (diff)
Add data() to all QString::toASCII Qt calls to help out Linux compiler
Diffstat (limited to 'debugger/debuggermain.cpp')
-rw-r--r--debugger/debuggermain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugger/debuggermain.cpp b/debugger/debuggermain.cpp
index 8440052d88..f749911a98 100644
--- a/debugger/debuggermain.cpp
+++ b/debugger/debuggermain.cpp
@@ -29,7 +29,7 @@ int main(int argc, char *argv[]) {
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 @@ int main(int argc, char *argv[]) {
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;