diff options
Diffstat (limited to 'sources/pyside6/libpyside/pyside.cpp')
| -rw-r--r-- | sources/pyside6/libpyside/pyside.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/libpyside/pyside.cpp b/sources/pyside6/libpyside/pyside.cpp index 272a006fc..68d49cf75 100644 --- a/sources/pyside6/libpyside/pyside.cpp +++ b/sources/pyside6/libpyside/pyside.cpp @@ -847,7 +847,7 @@ QString pyStringToQString(PyObject *str) return pyUnicodeToQString(str); if (PyBytes_Check(str)) { - const char *asciiBuffer = PyBytes_AS_STRING(str); + const char *asciiBuffer = PyBytes_AsString(str); if (asciiBuffer) return QString::fromLatin1(asciiBuffer); } |
