Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 e2faa85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgsoptions.cpp
Expand Up @@ -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
Expand Down

0 comments on commit e2faa85

Please sign in to comment.