Skip to content
Permalink
Browse files
Fix build for Qt<5.6
  • Loading branch information
wonder-sk committed Apr 6, 2017
1 parent 0b41425 commit 67947b96ef3f5117fb1a247fb9af2de73f2c4ae3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/nodetool/qgsnodetool2.cpp
@@ -360,7 +360,8 @@ void QgsNodeTool2::cadCanvasPressEvent( QgsMapMouseEvent *e )
if ( mLastMouseMoveMatch.isValid() && mLastMouseMoveMatch.layer() )
{
QMenu menu;
menu.addAction( "Node editor", this, &QgsNodeTool2::showNodeEditor );
QAction *actionNodeEditor = menu.addAction( "Node editor" );
connect( actionNodeEditor, &QAction::triggered, this, &QgsNodeTool2::showNodeEditor );
menu.exec( mCanvas->mapToGlobal( e->pos() ) );
}
}

0 comments on commit 67947b9

Please sign in to comment.