diff options
Diffstat (limited to 'profile-widget')
-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; |