aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/plugins/customwidget.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-24 10:59:56 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2018-07-24 10:59:56 +0000
commitbbbcc44789a2206c85836fc9656389d00ca7e010 (patch)
tree348eda42a7fd8bf9be05e23922ce6a550454014c /sources/pyside2/plugins/customwidget.cpp
parent4a6ecfc1b66252e75e75c6de982ef68e057b625e (diff)
parent2c3cbe854f921068346ee78f7dda841116230ede (diff)
Merge "Merge remote-tracking branch 'origin/5.11' into dev" into refs/staging/dev
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 bad05f2d3..f3ce09b62 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(PepType(reinterpret_cast<PyTypeObject*>(objectType))->tp_name);
+ m_name = QString(reinterpret_cast<PyTypeObject *>(objectType)->tp_name);
}
PyCustomWidget::~PyCustomWidget()