Skip to content

Commit

Permalink
Move initializers to header
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 17, 2018
1 parent d5cec14 commit 487d8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/gui/attributetable/qgsattributetablefiltermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
QgsAttributeTableFilterModel::QgsAttributeTableFilterModel( QgsMapCanvas *canvas, QgsAttributeTableModel *sourceModel, QObject *parent )
: QSortFilterProxyModel( parent )
, mCanvas( canvas )
, mFilterMode( ShowAll )
, mSelectedOnTop( false )
{
setSourceModel( sourceModel );
setDynamicSortFilter( true );
Expand Down
4 changes: 2 additions & 2 deletions src/gui/attributetable/qgsattributetablefiltermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ class GUI_EXPORT QgsAttributeTableFilterModel: public QSortFilterProxyModel, pub
private:
QgsFeatureIds mFilteredFeatures;
QgsMapCanvas *mCanvas = nullptr;
FilterMode mFilterMode;
bool mSelectedOnTop;
FilterMode mFilterMode = FilterMode::ShowAll;
bool mSelectedOnTop = false;
QgsAttributeTableModel *mTableModel = nullptr;

QgsAttributeTableConfig mConfig;
Expand Down

0 comments on commit 487d8d1

Please sign in to comment.