From 4b48f7b8d9d21255c35ec0a1222415f59629a1e0 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