Make setModel() virtual

Task-number: QTBUG-74255
Change-Id: I354e547dd75019a964f4b8e4f087a72e610816f3
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
bb10
Andrew Patterson 2019-11-12 11:23:11 -05:00
parent 2625d2713c
commit d8fa009a15
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public:
void setItemDelegate(QAbstractItemDelegate *delegate);
QAbstractItemModel *model() const;
void setModel(QAbstractItemModel *model);
virtual void setModel(QAbstractItemModel *model);
QModelIndex rootModelIndex() const;
void setRootModelIndex(const QModelIndex &index);