Skip to content
Permalink
Browse files
Add conditionals for debug output
git-svn-id: http://svn.osgeo.org/qgis/trunk@6774 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Mar 8, 2007
1 parent 9c79f06 commit e89ff94e287a7933dc6ef183b1b7985d43b2f7c7
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/plugins/grass/qgsgrasstools.cpp
@@ -155,13 +155,15 @@ QgsGrassTools::QgsGrassTools ( QgisInterface *iface,

void QgsGrassTools::moduleClicked( QTreeWidgetItem * item, int column )
{
// #ifdef QGISDEBUG
#ifdef QGISDEBUG
std::cerr << "QgsGrassTools::moduleClicked()" << std::endl;
// #endif
#endif
if ( !item ) return;

QString name = item->text(1);
#ifdef QGISDEBUG
std::cerr << "name = " << name.ascii() << std::endl;
#endif

if ( name.length() == 0 ) return; // Section

0 comments on commit e89ff94

Please sign in to comment.