summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 12:20:21 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 12:20:21 -0700
commita30e78140f7eea8847b0f416ca7b461491a01f35 (patch)
tree5bef62f54f38a3574633597ccba3f2c1f5134f56 /qt-ui/maintab.cpp
parentc9f72e510a655fdca7c35be688d96f8c05659bc8 (diff)
downloadsubsurface-a30e78140f7eea8847b0f416ca7b461491a01f35.tar.gz
Hide a couple of debugging messages
They are useful to show when trying to figure out what's going on, so just move them behind a check for verbose. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 2e4d3fc9f..737cfbf04 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -785,7 +785,8 @@ void MainTab::updateDiveInfo(bool clear)
else
ui.cylinders->view()->hideColumn(CylindersModel::USE);
- qDebug() << "Set the current dive site:" << displayed_dive.dive_site_uuid;
+ if (verbose)
+ qDebug() << "Set the current dive site:" << displayed_dive.dive_site_uuid;
emit diveSiteChanged(get_dive_site_by_uuid(displayed_dive.dive_site_uuid));
}