ソースを参照

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