Revert "Pajlada told me this would fix the crash when you change user"

This reverts commit e4e813fe16.
This commit is contained in:
apa420 2018-05-14 01:12:42 +02:00
parent 69237bc46a
commit 40ea585175

View file

@ -372,9 +372,7 @@ private:
QObject::connect(worker, &NetworkWorker::doneUrl, this->data.caller, QObject::connect(worker, &NetworkWorker::doneUrl, this->data.caller,
[data = this->data](auto reply) mutable { [data = this->data](auto reply) mutable {
if (reply->error() != QNetworkReply::NetworkError::NoError) { if (reply->error() != QNetworkReply::NetworkError::NoError) {
if (data.onError) { data.onError(reply->error());
data.onError(reply->error());
}
return; return;
} }