File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ class QgsVectorDataProvider : QgsDataProvider
170
170
* Adds new attributes
171
171
* @param attributes map with attribute name as key and type as value
172
172
* @return true in case of success and false in case of failure
173
+ * @note changed in 1.2
173
174
*/
174
175
virtual bool addAttributes(const QList<QgsField> & attributes);
175
176
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider
192
192
* @param index the index of the attribute
193
193
* @param enumList reference to the list to fill
194
194
@note: added in version 1.2*/
195
- virtual void enumValues ( int index, QStringList& enumList ) { enumList.clear (); }
195
+ virtual void enumValues ( int index, QStringList& enumList ) { Q_UNUSED (index); enumList.clear (); }
196
196
197
197
/* *
198
198
* Adds a list of features
@@ -211,6 +211,7 @@ class CORE_EXPORT QgsVectorDataProvider : public QgsDataProvider
211
211
* Adds new attributes
212
212
* @param attributes map with attribute name as key and type as value
213
213
* @return true in case of success and false in case of failure
214
+ * @note changed in 1.2
214
215
*/
215
216
virtual bool addAttributes ( const QList<QgsField> &attributes );
216
217
You can’t perform that action at this time.
0 commit comments