Review URL: https://codereview.appspot.com/6848045
git-svn-id: http://skia.googlecode.com/svn/trunk@6398
2bbb7eff-a529-9590-31e7-
b0007b416f81
if (!filename.endsWith(".skp", Qt::CaseInsensitive)) {
filename.append(".skp");
}
- saveToFile(SkString(filename.toAscii()));
+ saveToFile(SkString(filename.toAscii().data()));
}
void SkDebuggerGUI::actionScale(float scaleFactor) {
if (!temp.isEmpty()) {
QFileInfo pathInfo(temp);
fPath = pathInfo.path();
- loadPicture(SkString(temp.toAscii()));
+ loadPicture(SkString(temp.toAscii().data()));
setupDirectoryWidget();
}
fDirectoryWidgetActive = true;