Yes, I am relying on the finished signal from QNetworkAccessManager.
Basically, I have the following code:
Qt Code:
reply->close(); // construct QImage from data QImage img; bool loaded = img.loadFromData(data);To copy to clipboard, switch view to plain text mode
My problem is that "img.loadFromData(data)" returns true in any case, even if the mentioned error messages get printed onto the console. I would be interested in finding a way to catch those error messages such that I would be able to discard the corresponding images.
Bookmarks