diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-13 13:09:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-14 09:19:01 -0700 |
commit | 176b92776b45d6f1135441513727cb5f23f49d88 (patch) | |
tree | 1b9e0914896e3019b41139ca2f25d35ed1452de5 /profile-widget/divetextitem.cpp | |
parent | 9a2e3ce7e8cbdf67f32b8581ac3e9735f4824793 (diff) | |
download | subsurface-176b92776b45d6f1135441513727cb5f23f49d88.tar.gz |
Silence warning
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/divetextitem.cpp')
-rw-r--r-- | profile-widget/divetextitem.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <QBrush> #include <QDebug> @@ -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; |