소스 검색

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);