From ef318533c3c787bc1e82abb06687817d13f00d08 Mon Sep 17 00:00:00 2001 From: CozmoP <25121396+CozmoP@users.noreply.github.com> Date: Thu, 17 Jan 2019 00:09:12 +0100 Subject: [PATCH] -Woverloaded-virtual fix --- ui/drivers/qt/gridview.cpp | 2 +- ui/drivers/qt/gridview.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/drivers/qt/gridview.cpp b/ui/drivers/qt/gridview.cpp index 14d139b0e4..44abfd8616 100644 --- a/ui/drivers/qt/gridview.cpp +++ b/ui/drivers/qt/gridview.cpp @@ -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 &roles) { m_hashIsDirty = true; QAbstractItemView::dataChanged(topLeft, bottomRight); diff --git a/ui/drivers/qt/gridview.h b/ui/drivers/qt/gridview.h index 165781d91e..2a14a2247c 100644 --- a/ui/drivers/qt/gridview.h +++ b/ui/drivers/qt/gridview.h @@ -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 &roles = QVector()); void rowsInserted(const QModelIndex &parent, int start, int end); void rowsRemoved(const QModelIndex &parent, int start, int end); void updateGeometries();