From 7ffc619f4c6f714e72c08d2f80816fe27390f7c1 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 18 Mar 2017 15:49:56 -0700 Subject: [PATCH] QML UI: make profile drawing less verbose Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlprofile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }