mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Revert "Pajlada told me this would fix the crash when you change user"
This reverts commit e4e813fe16
.
This commit is contained in:
parent
69237bc46a
commit
40ea585175
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue