-Woverloaded-virtual fix

This commit is contained in:
CozmoP 2019-01-17 00:09:12 +01:00
parent 30e48b46b3
commit ef318533c3
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ QModelIndex GridView::indexAt(const QPoint &point_) const
return QModelIndex(); return QModelIndex();
} }
void GridView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) void GridView::dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles)
{ {
m_hashIsDirty = true; m_hashIsDirty = true;
QAbstractItemView::dataChanged(topLeft, bottomRight); QAbstractItemView::dataChanged(topLeft, bottomRight);

View File

@ -57,7 +57,7 @@ signals:
void visibleItemsChangedMaybe() const; void visibleItemsChangedMaybe() const;
protected slots: protected slots:
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QVector<int> &roles = QVector<int>());
void rowsInserted(const QModelIndex &parent, int start, int end); void rowsInserted(const QModelIndex &parent, int start, int end);
void rowsRemoved(const QModelIndex &parent, int start, int end); void rowsRemoved(const QModelIndex &parent, int start, int end);
void updateGeometries(); void updateGeometries();