diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 19:25:43 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 19:25:43 +0000 |
commit | e219baf74742ee5cda3c99fabe6acaa8f878fe00 (patch) | |
tree | 2ebf739ff913c70d584f60248b5d5cc2b6f9f9d9 /debugger/debuggermain.cpp | |
parent | ff6e6bade36c34a4c4fce4c14b480b9d2435bcd5 (diff) |
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
Diffstat (limited to 'debugger/debuggermain.cpp')
-rw-r--r-- | debugger/debuggermain.cpp | 4 |
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; |