Skip to content

Commit a2e010c

Browse files
committed
param description fix
1 parent fb6f181 commit a2e010c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/core/qgsvectorlayerexporter.sip

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ class QgsVectorLayerExporterTask : QgsTask
154154
%Docstring
155155
Constructor for QgsVectorLayerExporterTask. Takes a source ``layer``, destination ``uri``
156156
and ``providerKey``, and various export related parameters such as destination CRS
157-
and export ``options``.
158-
\param ownsLayer take ownership of layer and deletes it after export
157+
and export ``options``. ``ownsLayer`` has to be set to true if the task should take ownership
158+
of the layer and delete it after export.
159159
%End
160160

161161
static QgsVectorLayerExporterTask *withLayerOwnership( QgsVectorLayer *layer /Transfer/,

src/core/qgsvectorlayerexporter.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ class CORE_EXPORT QgsVectorLayerExporterTask : public QgsTask
188188
/**
189189
* Constructor for QgsVectorLayerExporterTask. Takes a source \a layer, destination \a uri
190190
* and \a providerKey, and various export related parameters such as destination CRS
191-
* and export \a options.
192-
* \param ownsLayer take ownership of layer and deletes it after export
191+
* and export \a options. \a ownsLayer has to be set to true if the task should take ownership
192+
* of the layer and delete it after export.
193193
*/
194194
QgsVectorLayerExporterTask( QgsVectorLayer *layer,
195195
const QString &uri,

0 commit comments

Comments
 (0)