Skip to content
Permalink
Browse files

Make QgsVectorLayer ctor default to ogr provider

  • Loading branch information
nyalldawson committed Jan 27, 2017
1 parent 45fc6dc commit 6c7e2f1b870450fa57ab47d87c7293906074347a
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/qgsvectorlayer.sip
  2. +1 −1 src/core/qgsvectorlayer.h
@@ -357,7 +357,7 @@ class QgsVectorLayer : QgsMapLayer, QgsExpressionContextGenerator
*
*/
QgsVectorLayer( const QString& path = QString::null, const QString& baseName = QString::null,
const QString& providerLib = QString::null, bool loadDefaultStyleFlag = true );
const QString& providerLib = "ogr", bool loadDefaultStyleFlag = true );

/** Destructor */
virtual ~QgsVectorLayer();
@@ -453,7 +453,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
*
*/
QgsVectorLayer( const QString& path = QString::null, const QString& baseName = QString::null,
const QString& providerLib = QString::null, bool loadDefaultStyleFlag = true );
const QString& providerLib = "ogr", bool loadDefaultStyleFlag = true );


virtual ~QgsVectorLayer();

0 comments on commit 6c7e2f1

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