Silence warning

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-13 13:09:22 -07:00
parent 9a2e3ce7e8
commit 176b92776b

View file

@ -1,6 +1,7 @@
#include "divetextitem.h" #include "divetextitem.h"
#include "profilewidget2.h" #include "profilewidget2.h"
#include "core/color.h" #include "core/color.h"
#include "core/dive.h"
#include <QBrush> #include <QBrush>
#include <QDebug> #include <QDebug>
@ -62,6 +63,7 @@ void DiveTextItem::setText(const QString &t)
fontPrintScaleUpdate(profile->getFontPrintScale()); fontPrintScaleUpdate(profile->getFontPrintScale());
connected = true; connected = true;
} else { } else {
if (verbose)
qDebug() << "called before scene was set up" << t; qDebug() << "called before scene was set up" << t;
} }
} }