aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/pyside6/PySide6/glue/qtwidgets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/glue/qtwidgets.cpp b/sources/pyside6/PySide6/glue/qtwidgets.cpp
index bd431655e..ca9acb349 100644
--- a/sources/pyside6/PySide6/glue/qtwidgets.cpp
+++ b/sources/pyside6/PySide6/glue/qtwidgets.cpp
@@ -655,7 +655,7 @@ if (PyErr_WarnEx(PyExc_DeprecationWarning,
%BEGIN_ALLOW_THREADS
QAction *cppResult = %CPPSELF.exec();
%END_ALLOW_THREADS
-%PYARG_0 = %CONVERTTOPYTHON[QAction](cppResult);
+%PYARG_0 = %CONVERTTOPYTHON[QAction*](cppResult);
// @snippet qmenu-exec-1
// @snippet qmenu-exec-2
@@ -668,7 +668,7 @@ if (PyErr_WarnEx(PyExc_DeprecationWarning,
%BEGIN_ALLOW_THREADS
QAction *cppResult = %CPPSELF.exec(%1, %2);
%END_ALLOW_THREADS
-%PYARG_0 = %CONVERTTOPYTHON[QAction](cppResult);
+%PYARG_0 = %CONVERTTOPYTHON[QAction*](cppResult);
// @snippet qmenu-exec-2
// @snippet qmenu-exec-3