File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
python/core/auto_generated Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Returns the display name of the layer.
180
180
181
181
virtual QgsDataProvider *dataProvider();
182
182
%Docstring
183
- Returns the layer's data provider.
183
+ Returns the layer's data provider, it may be null .
184
184
%End
185
185
186
186
Original file line number Diff line number Diff line change @@ -232,12 +232,12 @@ class CORE_EXPORT QgsMapLayer : public QObject
232
232
QString name () const ;
233
233
234
234
/* *
235
- * Returns the layer's data provider.
235
+ * Returns the layer's data provider, it may be null .
236
236
*/
237
237
virtual QgsDataProvider *dataProvider ();
238
238
239
239
/* *
240
- * Returns the layer's data provider in a const-correct manner
240
+ * Returns the layer's data provider in a const-correct manner, it may be null.
241
241
* \note not available in Python bindings
242
242
*/
243
243
virtual const QgsDataProvider *dataProvider () const SIP_SKIP;
You can’t perform that action at this time.
0 commit comments