Skip to content
Permalink
Browse files

Fixed potential crash when layer is instantiated without specifying a…

… provider key.

git-svn-id: http://svn.osgeo.org/qgis/trunk@7262 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Oct 11, 2007
1 parent dcd52f1 commit 995037ac5ba3350afc563325a2cd4a7d56b8f148
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsvectorlayer.cpp
@@ -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),

0 comments on commit 995037a

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