From 176b92776b45d6f1135441513727cb5f23f49d88 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 13 Apr 2016 13:09:22 -0700 Subject: Silence warning Signed-off-by: Dirk Hohndel --- profile-widget/divetextitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'profile-widget') diff --git a/profile-widget/divetextitem.cpp b/profile-widget/divetextitem.cpp index 1f4576dc6..21a72624d 100644 --- a/profile-widget/divetextitem.cpp +++ b/profile-widget/divetextitem.cpp @@ -1,6 +1,7 @@ #include "divetextitem.h" #include "profilewidget2.h" #include "core/color.h" +#include "core/dive.h" #include #include @@ -62,7 +63,8 @@ void DiveTextItem::setText(const QString &t) fontPrintScaleUpdate(profile->getFontPrintScale()); connected = true; } else { - qDebug() << "called before scene was set up" << t; + if (verbose) + qDebug() << "called before scene was set up" << t; } } internalText = t; -- cgit v1.2.3-70-g09d2