Skip to content

Commit

Permalink
Make filters of QgsMapLayerProxyModel a property
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 3, 2016
1 parent 281117d commit a5a731b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsmaplayerproxymodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class GUI_EXPORT QgsMapLayerProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
Q_FLAGS( Filters )

Q_PROPERTY( QgsMapLayerProxyModel::Filters filters READ filters WRITE setFilters )

public:
enum Filter
{
Expand Down

0 comments on commit a5a731b

Please sign in to comment.