diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-12 18:26:12 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-15 08:24:13 +0100 |
| commit | 4aba6db31495ba07226b93ddd601a6b38e2df0f9 (patch) | |
| tree | 093686df2945c0018aa9b638887b320119a6f8f5 /sources/pyside6/PySide6/glue/qtgui.cpp | |
| parent | 31be0cfd47643204b32e5192fb18ee2cfc152c9d (diff) | |
Remove const_cast<char *> which are no longer needed in Python 3
Remove from code as well as from the generator.
Change-Id: Ia863788bfa57d52258836c1cbcccb8c9815b7421
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtgui.cpp')
| -rw-r--r-- | sources/pyside6/PySide6/glue/qtgui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/pyside6/PySide6/glue/qtgui.cpp b/sources/pyside6/PySide6/glue/qtgui.cpp index 76932c07b..c0323ad0f 100644 --- a/sources/pyside6/PySide6/glue/qtgui.cpp +++ b/sources/pyside6/PySide6/glue/qtgui.cpp @@ -547,9 +547,7 @@ WId id = %1; // @snippet qshortcut-1 // @snippet qshortcut-2 -Shiboken::AutoDecRef result(PyObject_CallMethod(%PYSELF, - const_cast<char *>("connect"), - const_cast<char *>("OsO"), +Shiboken::AutoDecRef result(PyObject_CallMethod(%PYSELF, "connect", "OsO", %PYSELF, SIGNAL(activated()), %PYARG_3) ); if (!result.isNull()) |
