Skip to content

Commit

Permalink
Only display some debugging output when debugging is turned on
Browse files Browse the repository at this point in the history
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 3d8060f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgsoptions.cpp
Original file line number Diff line number Diff line change
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 3d8060f

Please sign in to comment.