summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}