Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed Jun 25, 2006
1 parent 07538fa commit 3d8060f6642f732f65317fbbe15499b13d68c0aa
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/qgsoptions.cpp
@@ -47,9 +47,13 @@ QgsOptions::QgsOptions(QWidget *parent, Qt::WFlags fl) :
QSettings settings;
QString browser = settings.readEntry("/qgis/browser");
cmbBrowser->setCurrentText(browser);
#ifdef QGISDEBUG
std::cout << "Standard Identify radius setting: " << QGis::DEFAULT_IDENTIFY_RADIUS << std::endl;
#endif
int identifyValue = settings.readNumEntry("/Map/identifyRadius",QGis::DEFAULT_IDENTIFY_RADIUS);
#ifdef QGISDEBUG
std::cout << "Standard Identify radius setting read from settings file: " << identifyValue << std::endl;
#endif
spinBoxIdentifyValue->setValue(identifyValue);

// set the current theme

0 comments on commit 3d8060f

Please sign in to comment.