From 78c34b948e99c0d56297e1679ebc89789a6130f8 Mon Sep 17 00:00:00 2001 From: Eugene Shalygin Date: Thu, 18 May 2017 15:16:52 +0200 Subject: [PATCH] Fix build error. --- src/gui/categoryfilterproxymodel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/categoryfilterproxymodel.h b/src/gui/categoryfilterproxymodel.h index 1b1b2484a..2bdeb95e1 100644 --- a/src/gui/categoryfilterproxymodel.h +++ b/src/gui/categoryfilterproxymodel.h @@ -43,6 +43,10 @@ public: protected: bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; + +private: + // we added another overload of index(), hence this using directive: + using QSortFilterProxyModel::index; }; #endif // CATEGORYFILTERPROXYMODEL_H