Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 e89ff94
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/grass/qgsgrasstools.cpp
Expand Up @@ -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

Expand Down

0 comments on commit e89ff94

Please sign in to comment.