mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
9c79f068f5
commit
e89ff94e28
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user