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