aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/testview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/testview.cpp')
-rw-r--r--sources/pyside6/tests/pysidetest/testview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/pysidetest/testview.cpp b/sources/pyside6/tests/pysidetest/testview.cpp
index 49e3730f5..110a87ac2 100644
--- a/sources/pyside6/tests/pysidetest/testview.cpp
+++ b/sources/pyside6/tests/pysidetest/testview.cpp
@@ -44,9 +44,9 @@ QWidget*
TestView::getEditorWidgetFromItemDelegate() const
{
if (!m_delegate)
- return 0;
+ return nullptr;
QModelIndex index;
QStyleOptionViewItem options;
- return m_delegate->createEditor(0, options, index);
+ return m_delegate->createEditor(nullptr, options, index);
}