CCheckableTreeWidgetItem: Make use of override
This commit is contained in:
parent
2d9406a287
commit
e8e5088001
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue