Skip to content
Snippets Groups Projects
Commit 5c9ae311 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Jean-Baptiste Kempf
Browse files

qt/RoundImage: handle network reply error

parent 9734618e
No related branches found
No related tags found
1 merge request!1354qt/RoundImage: fix incorrect image displayed
Pipeline #189948 passed with stage
in 21 minutes and 56 seconds
......@@ -93,6 +93,12 @@ namespace
QObject::connect(reply, SIGNAL(finished()), &loop, SLOT(quit()));
loop.exec();
if (reply->error() != QNetworkReply::NoError)
{
qDebug() << reply->errorString();
return {};
}
class DataOwningBuffer : public QBuffer
{
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment