Add conditionals for debug output

git-svn-id: http://svn.osgeo.org/qgis/trunk@6774 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2007-03-08 06:07:15 +00:00
parent 9c79f068f5
commit e89ff94e28

View File

@ -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