Skip to content

Commit

Permalink
More connect fun
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and m-kuhn committed Nov 4, 2019
1 parent 1caa629 commit 9e61414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgssnapindicator.cpp
Expand Up @@ -27,7 +27,7 @@
QgsSnapIndicator::QgsSnapIndicator( QgsMapCanvas *canvas )
: mCanvas( canvas )
{
mCanvasDestroyedConnection = QObject::connect( canvas, &QgsMapCanvas::destroyed, [ = ]()
mCanvasDestroyedConnection = QObject::connect( canvas, &QgsMapCanvas::destroyed, this, [ = ]()
{
mCanvas = nullptr;
mSnappingMarker = nullptr;
Expand Down

0 comments on commit 9e61414

Please sign in to comment.