oKcerG / SortFilterProxyModel

A nicely exposed QSortFilterProxyModel for QML
MIT License
298 stars 101 forks source link

Compilation issue at SwitchRole #54

Closed dnvdmitry closed 6 years ago

dnvdmitry commented 6 years ago

class SwitchRole : public SingleRole, public FilterContainer { Q_OBJECT Q_INTERFACES(qqsfpm::FilterContainer) Q_PROPERTY(QString defaultRoleName READ defaultRoleName WRITE setDefaultRoleName NOTIFY defaultRoleNameChanged) Q_PROPERTY(QVariant defaultValue READ defaultValue WRITE setDefaultValue NOTIFY defaultValueChanged) Q_PROPERTY(QQmlListProperty filters READ filtersListProperty)

public: using ProxyRole::ProxyRole;

ProxyRole is not a direct base for SwitchRole, so inherit constructors are prohibited

oKcerG commented 6 years ago

Thanks for reporting this issue.

Indeed this look like I forgot to commit stuff after refactoring ProxyRole. I will do it when I get back from work.