mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
8867edffe8
commit
b320942343
8 changed files with 18 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue