QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-15 06:58:54 +01:00
committed by wmayer
parent 8a7768a04a
commit 0695552cff
61 changed files with 191 additions and 191 deletions

View File

@@ -344,5 +344,5 @@ Py::Object PythonStdin::repr()
Py::Object PythonStdin::readline(const Py::Tuple& args)
{
return Py::String( (const char *)pyConsole->readline().toAscii() );
return Py::String( (const char *)pyConsole->readline().toLatin1() );
}