Nyall Dawson 5e08626051 Add QgsMapLayer::isSpatial() method
The current approach of testing !vl || vl->geometryType() != NoGeometry
is not intuitive and has been the source of 2 recent bugs.

Replacing these tests with the new isSpatial() function makes it
immediately obvious what is being tested. It also allows for
non-spatial plugin layers to be correctly handled by overriding
this method.
2016-03-16 12:38:16 +11:00
..
2016-03-16 12:38:16 +11:00
2016-03-10 10:45:18 +11:00
2016-03-16 12:38:16 +11:00
2016-03-16 12:38:16 +11:00
2016-03-12 21:50:46 +01:00
2016-03-09 12:35:18 +01:00
2016-03-15 18:55:11 +01:00