summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlprofile.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-18 15:49:56 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-18 17:05:45 -0700
commit7ffc619f4c6f714e72c08d2f80816fe27390f7c1 (patch)
treefca887146291bb50187f69016f54c425f0f5dfd8 /mobile-widgets/qmlprofile.cpp
parent10842b3eb3ffd281d740abfb8611b741f6c9acf9 (diff)
downloadsubsurface-7ffc619f4c6f714e72c08d2f80816fe27390f7c1.tar.gz
QML UI: make profile drawing less verbose
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlprofile.cpp')
-rw-r--r--mobile-widgets/qmlprofile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qmlprofile.cpp b/mobile-widgets/qmlprofile.cpp
index d75504ec6..a823fe97e 100644
--- a/mobile-widgets/qmlprofile.cpp
+++ b/mobile-widgets/qmlprofile.cpp
@@ -86,7 +86,8 @@ void QMLProfile::setDiveId(const QString &diveId)
return;
if (!d)
return;
- qDebug() << "setDiveId called with valid dive" << d->number;
+ if (verbose)
+ qDebug() << "setDiveId(" << d->number << ")";
m_profileWidget->plotDive(d, true);
}