Skip to content

Commit 3d8060f

Browse files
author
g_j_m
committed
Only display some debugging output when debugging is turned on
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5548 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 07538fa commit 3d8060f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gui/qgsoptions.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ QgsOptions::QgsOptions(QWidget *parent, Qt::WFlags fl) :
4747
QSettings settings;
4848
QString browser = settings.readEntry("/qgis/browser");
4949
cmbBrowser->setCurrentText(browser);
50+
#ifdef QGISDEBUG
5051
std::cout << "Standard Identify radius setting: " << QGis::DEFAULT_IDENTIFY_RADIUS << std::endl;
52+
#endif
5153
int identifyValue = settings.readNumEntry("/Map/identifyRadius",QGis::DEFAULT_IDENTIFY_RADIUS);
54+
#ifdef QGISDEBUG
5255
std::cout << "Standard Identify radius setting read from settings file: " << identifyValue << std::endl;
56+
#endif
5357
spinBoxIdentifyValue->setValue(identifyValue);
5458

5559
// set the current theme

0 commit comments

Comments
 (0)