Skip to content
Permalink
Browse files

Lambda indentation

  • Loading branch information
elpaso committed Jan 5, 2018
1 parent 9c85334 commit c1677c502f815986fbbecaa082055255f16f2305
Showing with 7 additions and 4 deletions.
  1. +7 −4 src/providers/ogr/qgsogrprovider.cpp
@@ -4050,12 +4050,15 @@ void QgsOgrProvider::open( OpenMode mode )
}
}

// Connect
// Updates capabilities when the subset string changes, it needs to be
// asynchronous because if called directly if will recurse
if ( mode == OpenModeInitial )
connect( this, &QgsOgrProvider::capabilitiesNeedUpdate, this, [ = ]
{
computeCapabilities();
} );
connect( this, &QgsOgrProvider::capabilitiesNeedUpdate, this, [ = ]
{
computeCapabilities();
} );
}

// For debug/testing purposes
if ( !mValid )

0 comments on commit c1677c5

Please sign in to comment.
You can’t perform that action at this time.