CCheckableTreeWidgetItem: Make use of override

This commit is contained in:
Lioncash 2020-07-03 12:49:57 -04:00
parent 2d9406a287
commit e8e5088001
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public:
: QTreeWidgetItem(other) {} : QTreeWidgetItem(other) {}
/** setData override to catch check state changes */ /** 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); Qt::CheckState OldState = checkState(0);
QTreeWidgetItem::setData(Column, Role, rkValue); QTreeWidgetItem::setData(Column, Role, rkValue);