QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
e55ba2d24d
commit
d5c074f80d
@@ -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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user