Replace remaining qDebug()s by report_info()

The only case left is in android.cpp, though that is only compiled
when compiling the full desktop app on Android. I.e. never. So
don't bother for now.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-26 20:23:50 +01:00 committed by bstoeger
parent 8867edffe8
commit b320942343
8 changed files with 18 additions and 18 deletions

View file

@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "divepixmapcache.h"
#include "core/errorhelper.h"
#include "core/metrics.h"
#include "core/color.h"
@ -23,7 +24,7 @@ DivePixmaps::DivePixmaps(int dpr) : dpr(dpr)
sz_bigger = lrint(sz_bigger * dprf);
int sz_pix = sz_bigger / 2; // ex 20px
if (verbose)
qDebug("%s DPR: %f metrics: %d %d sz_bigger: %d", __FUNCTION__, dprf, metrics.sz_med, metrics.sz_small, sz_bigger);
report_info("%s DPR: %f metrics: %d %d sz_bigger: %d", __func__, dprf, metrics.sz_med, metrics.sz_small, sz_bigger);
warning = createPixmap(":status-warning-icon", sz_pix);
info = createPixmap(":status-info-icon", sz_pix);