Skip to content

Commit d8de869

Browse files
committedSep 18, 2017
Remove useless debug messages
1 parent 63def3d commit d8de869

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed
 

‎src/core/qgsvectordataprovider.cpp

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -209,92 +209,77 @@ QString QgsVectorDataProvider::capabilitiesString() const
209209
if ( abilities & QgsVectorDataProvider::AddFeatures )
210210
{
211211
abilitiesList += tr( "Add Features" );
212-
QgsDebugMsg( "Capability: Add Features" );
213212
}
214213

215214
if ( abilities & QgsVectorDataProvider::DeleteFeatures )
216215
{
217216
abilitiesList += tr( "Delete Features" );
218-
QgsDebugMsg( "Capability: Delete Features" );
219217
}
220218

221219
if ( abilities & QgsVectorDataProvider::ChangeAttributeValues )
222220
{
223221
abilitiesList += tr( "Change Attribute Values" );
224-
QgsDebugMsg( "Capability: Change Attribute Values" );
225222
}
226223

227224
if ( abilities & QgsVectorDataProvider::AddAttributes )
228225
{
229226
abilitiesList += tr( "Add Attributes" );
230-
QgsDebugMsg( "Capability: Add Attributes" );
231227
}
232228

233229
if ( abilities & QgsVectorDataProvider::DeleteAttributes )
234230
{
235231
abilitiesList += tr( "Delete Attributes" );
236-
QgsDebugMsg( "Capability: Delete Attributes" );
237232
}
238233

239234
if ( abilities & QgsVectorDataProvider::RenameAttributes )
240235
{
241236
abilitiesList += tr( "Rename Attributes" );
242-
QgsDebugMsg( "Capability: Rename Attributes" );
243237
}
244238

245239
if ( abilities & QgsVectorDataProvider::CreateSpatialIndex )
246240
{
247241
// TODO: Tighten up this test. See QgsOgrProvider for details.
248242
abilitiesList += tr( "Create Spatial Index" );
249-
QgsDebugMsg( "Capability: Create Spatial Index" );
250243
}
251244

252245
if ( abilities & QgsVectorDataProvider::CreateAttributeIndex )
253246
{
254247
abilitiesList += tr( "Create Attribute Indexes" );
255-
QgsDebugMsg( "Capability: Create Attribute Index" );
256248
}
257249

258250
if ( abilities & QgsVectorDataProvider::SelectAtId )
259251
{
260252
abilitiesList += tr( "Fast Access to Features at ID" );
261-
QgsDebugMsg( "Capability: Select at ID" );
262253
}
263254

264255
if ( abilities & QgsVectorDataProvider::ChangeGeometries )
265256
{
266257
abilitiesList += tr( "Change Geometries" );
267-
QgsDebugMsg( "Capability: Change Geometries" );
268258
}
269259

270260
if ( abilities & QgsVectorDataProvider::SimplifyGeometries )
271261
{
272262
abilitiesList += tr( "Presimplify Geometries" );
273-
QgsDebugMsg( "Capability: Simplify Geometries before fetching the feature" );
274263
}
275264

276265
if ( abilities & QgsVectorDataProvider::SimplifyGeometriesWithTopologicalValidation )
277266
{
278267
abilitiesList += tr( "Presimplify Geometries with Validity Check" );
279-
QgsDebugMsg( "Capability: Simplify Geometries before fetch the feature ensuring that the result is a valid geometry" );
280268
}
281269

282270
if ( abilities & QgsVectorDataProvider::ChangeFeatures )
283271
{
284272
abilitiesList += tr( "Simultaneous Geometry and Attribute Updates" );
285-
QgsDebugMsg( "Capability: change both feature attributes and geometry at once" );
286273
}
287274

288275
if ( abilities & QgsVectorDataProvider::TransactionSupport )
289276
{
290277
abilitiesList += tr( "Transactions" );
291-
QgsDebugMsg( "Capability: transactions" );
292278
}
293279

294280
if ( abilities & QgsVectorDataProvider::CircularGeometries )
295281
{
296282
abilitiesList += tr( "Curved Geometries" );
297-
QgsDebugMsg( "Supports circular geometry types (circularstring, compoundcurve, curvepolygon)" );
298283
}
299284

300285
return abilitiesList.join( QStringLiteral( ", " ) );

0 commit comments

Comments
 (0)
Please sign in to comment.