From 443c6ac81f02fe87398a84490202d69a31a7fe4d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Jul 2020 15:20:18 -0400 Subject: [PATCH] CCheckableTreeWidget: Make use of explicit on constructor --- src/Editor/Widgets/CCheckableTreeWidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/Widgets/CCheckableTreeWidget.h b/src/Editor/Widgets/CCheckableTreeWidget.h index 4d6292eb..87002e5b 100644 --- a/src/Editor/Widgets/CCheckableTreeWidget.h +++ b/src/Editor/Widgets/CCheckableTreeWidget.h @@ -15,7 +15,7 @@ signals: void CheckStateChanged(QTreeWidgetItem* pItem); public: - CCheckableTreeWidget(QWidget* pParent = 0) + explicit CCheckableTreeWidget(QWidget* pParent = nullptr) : QTreeWidget(pParent) {} };