瀏覽代碼

Do not use Qt 4.8 QStringRef::toAscii() method.

Sascha Zelzer 12 年之前
父節點
當前提交
f543ed806d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Libs/CommandLineModules/Core/ctkCmdLineModuleXmlProgressWatcher.cpp

+ 1 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleXmlProgressWatcher.cpp

@@ -82,7 +82,7 @@ public:
       {
         if (stack.empty())
         {
-          QByteArray output(reader.text().toAscii());
+          QByteArray output(reader.text().toString().toAscii());
           // get rid of a possible newline after the last xml end tag
           if (output.startsWith('\n')) output = output.remove(0,1);
           outputData.append(output);