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

@ -2,6 +2,7 @@
#include "dive.h"
#include "metrics.h"
#include "divelist.h"
#include "errorhelper.h"
#include "qthelper.h"
#include "imagedownloader.h"
#include "videoframeextractor.h"
@ -56,7 +57,7 @@ void ImageDownloader::saveImage(QNetworkReply *reply)
hash.addData(filename.toUtf8());
QFile imageFile(path.append("/").append(hash.result().toHex()));
if (imageFile.open(QIODevice::WriteOnly)) {
qDebug() << "Write image to" << imageFile.fileName();
report_info("Write image to %s", qPrintable(imageFile.fileName()));
QDataStream stream(&imageFile);
stream.writeRawData(imageData.data(), imageData.length());
imageFile.waitForBytesWritten(-1);