summaryrefslogtreecommitdiffstats
path: root/src/designer/src/lib/shared/qsimpleresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/designer/src/lib/shared/qsimpleresource.cpp')
-rw-r--r--src/designer/src/lib/shared/qsimpleresource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/lib/shared/qsimpleresource.cpp b/src/designer/src/lib/shared/qsimpleresource.cpp
index 0cedba686..705d7b608 100644
--- a/src/designer/src/lib/shared/qsimpleresource.cpp
+++ b/src/designer/src/lib/shared/qsimpleresource.cpp
@@ -216,7 +216,7 @@ void QSimpleResource::addCustomWidgetsToWidgetDatabase(const QDesignerFormEditor
void QSimpleResource::handleDomCustomWidgets(const QDesignerFormEditorInterface *core,
const DomCustomWidgets *dom_custom_widgets)
{
- if (dom_custom_widgets == 0)
+ if (dom_custom_widgets == nullptr)
return;
auto custom_widget_list = dom_custom_widgets->elementCustomWidget();
// Attempt to insert each item derived from its base class.