summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-25 13:57:11 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-25 13:57:11 +0900
commit3c8a9bc057956e672a685a579feaea2444e8ecb1 (patch)
treeb97de94b7a9c3193802b2b4d7597a11e2022e958
parent2b1017c986bf10a490592fba7e85b14df86cd58d (diff)
downloadsubsurface-3c8a9bc057956e672a685a579feaea2444e8ecb1.tar.gz
Move informational output to only be shown in verbose mode
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--divecomputer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/divecomputer.cpp b/divecomputer.cpp
index af54e13f5..e4081e1cd 100644
--- a/divecomputer.cpp
+++ b/divecomputer.cpp
@@ -88,7 +88,8 @@ void DiveComputerList::addDC(QString m, uint32_t d, QString n, QString s, QStrin
return;
// debugging: show changes
- existNode->showchanges(n, s, f);
+ if (verbose)
+ existNode->showchanges(n, s, f);
dcMap.remove(m, *existNode);
}