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
parent
2625d2713c
commit
d8fa009a15
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue