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/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index 7e04657..ae32aa0 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -514,9 +514,9 @@
 }
 
 void SkDebuggerGUI::actionSave() {
-    fFileName = fPath.toAscii();
+    fFileName = fPath.toAscii().data();
     fFileName.append("/");
-    fFileName.append(fDirectoryWidget.currentItem()->text().toAscii());
+    fFileName.append(fDirectoryWidget.currentItem()->text().toAscii().data());
     saveToFile(fFileName);
 }
 
@@ -571,9 +571,9 @@
 
 void SkDebuggerGUI::loadFile(QListWidgetItem *item) {
     if (fDirectoryWidgetActive) {
-        fFileName = fPath.toAscii();
+        fFileName = fPath.toAscii().data();
         fFileName.append("/");
-        fFileName.append(item->text().toAscii());
+        fFileName.append(item->text().toAscii().data());
         loadPicture(fFileName);
     }
 }