Merge pull request #8024 from CozmoP/warning

-Woverloaded-virtual fix
This commit is contained in:
Twinaphex 2019-01-17 03:07:00 +01:00 committed by GitHub
commit 6963b1f375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ QModelIndex GridView::indexAt(const QPoint &point_) const
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;
QAbstractItemView::dataChanged(topLeft, bottomRight);

View File

@ -57,7 +57,7 @@ signals:
void visibleItemsChangedMaybe() const;
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 rowsRemoved(const QModelIndex &parent, int start, int end);
void updateGeometries();