aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/plugins/customwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/plugins/customwidget.cpp')
-rw-r--r--sources/pyside2/plugins/customwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/plugins/customwidget.cpp b/sources/pyside2/plugins/customwidget.cpp
index c2ed00bd..bad05f2d 100644
--- a/sources/pyside2/plugins/customwidget.cpp
+++ b/sources/pyside2/plugins/customwidget.cpp
@@ -51,7 +51,7 @@ PyCustomWidget::PyCustomWidget(PyObject* objectType)
: m_data(new PyCustomWidgetPrivate())
{
m_data->pyObject = objectType;
- m_name = QString(reinterpret_cast<PyTypeObject*>(objectType)->tp_name);
+ m_name = QString(PepType(reinterpret_cast<PyTypeObject*>(objectType))->tp_name);
}
PyCustomWidget::~PyCustomWidget()