Forráskód Böngészése

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

Sascha Zelzer 12 éve
szülő
commit
f543ed806d

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