Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 28, 2018
1 parent 614800c commit 6fd8890
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/app/vertextool/qgsvertexeditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ QgsVertexEditor::QgsVertexEditor(
QgsSelectedFeature *selectedFeature,
QgsMapCanvas *canvas )
: mCanvas( canvas )
, mUpdatingTableSelection( false )
, mUpdatingVertexSelection( false )
{
setWindowTitle( tr( "Vertex Editor" ) );
mTableView = new QTableView( this );
Expand Down Expand Up @@ -309,7 +307,7 @@ void QgsVertexEditor::updateEditor( QgsVectorLayer *layer, QgsSelectedFeature *s
mLayer = layer;
mSelectedFeature = selectedFeature;

// TOOD We really should just update the model itself.
// TODO We really should just update the model itself.
mVertexModel = new QgsVertexEditorModel( mLayer, mSelectedFeature, mCanvas, this );
mTableView->setModel( mVertexModel );

Expand Down
4 changes: 2 additions & 2 deletions src/app/vertextool/qgsvertexeditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class QgsVertexEditor : public QgsDockWidget

private:

bool mUpdatingTableSelection;
bool mUpdatingVertexSelection;
bool mUpdatingTableSelection = false;
bool mUpdatingVertexSelection = false;
};


Expand Down

0 comments on commit 6fd8890

Please sign in to comment.