We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 24fe216 commit b8e7523Copy full SHA for b8e7523
src/providers/grass/qgsgrassvectormap.cpp
@@ -539,6 +539,7 @@ void QgsGrassVectorMap::printDebug()
539
}
540
G_TRY
541
{
542
+#ifdef QGISDEBUG
543
int ncidx = Vect_cidx_get_num_fields( mMap );
544
QgsDebugMsg( QString( "ncidx = %1" ).arg( ncidx ) );
545
@@ -548,9 +549,11 @@ void QgsGrassVectorMap::printDebug()
548
549
int ncats = Vect_cidx_get_num_cats_by_index( mMap, i );
550
QgsDebugMsg( QString( "i = %1 layer = %2 ncats = %3" ).arg( i ).arg( layer ).arg( ncats ) );
551
552
+#endif
553
554
G_CATCH( QgsGrass::Exception &e )
555
556
+ Q_UNUSED( e )
557
QgsDebugMsg( "Cannot read info from map: " + QString( e.what() ) );
558
559
0 commit comments