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@5548 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Jun 25, 2006
1 parent 2b3d499 commit e2faa857f171bb36a8ec91fd2eeb9f9ce77f8015
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 e2faa85

Please sign in to comment.