From e8e508800103e9e6f941216fb9ea21ff1269577a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 3 Jul 2020 12:49:57 -0400 Subject: [PATCH] CCheckableTreeWidgetItem: Make use of override --- src/Editor/Widgets/CCheckableTreeWidgetItem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/Widgets/CCheckableTreeWidgetItem.h b/src/Editor/Widgets/CCheckableTreeWidgetItem.h index e99e2980..5e67f670 100644 --- a/src/Editor/Widgets/CCheckableTreeWidgetItem.h +++ b/src/Editor/Widgets/CCheckableTreeWidgetItem.h @@ -37,7 +37,7 @@ public: : QTreeWidgetItem(other) {} /** setData override to catch check state changes */ - virtual void setData(int Column, int Role, const QVariant& rkValue) + void setData(int Column, int Role, const QVariant& rkValue) override { Qt::CheckState OldState = checkState(0); QTreeWidgetItem::setData(Column, Role, rkValue);