mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fixed potential crash when layer is instantiated without specifying a provider key.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7262 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cb18a80a1e
commit
a10199cb57
@ -88,6 +88,7 @@ QgsVectorLayer::QgsVectorLayer(QString vectorLayerPath,
|
||||
QString providerKey)
|
||||
: QgsMapLayer(VECTOR, baseName, vectorLayerPath),
|
||||
mUpdateThreshold(0), // XXX better default value?
|
||||
mDataProvider(NULL),
|
||||
mProviderKey(providerKey),
|
||||
mEditable(false),
|
||||
mModified(false),
|
||||
|
Loading…
x
Reference in New Issue
Block a user