mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
refactor(abstractnetworkjob): rename var.
Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
parent
194b4cdfc6
commit
4c5d39f45f
@ -315,8 +315,8 @@ QString AbstractNetworkJob::errorString() const
|
||||
|
||||
QString AbstractNetworkJob::errorStringParsingBody(QByteArray *body)
|
||||
{
|
||||
const auto base = errorString();
|
||||
if (base.isEmpty() || !reply()) {
|
||||
const auto errorMessage = errorString();
|
||||
if (errorMessage.isEmpty() || !reply()) {
|
||||
return QString();
|
||||
}
|
||||
|
||||
@ -331,7 +331,7 @@ QString AbstractNetworkJob::errorStringParsingBody(QByteArray *body)
|
||||
return extra;
|
||||
}
|
||||
|
||||
return base;
|
||||
return errorMessage;
|
||||
}
|
||||
|
||||
QString AbstractNetworkJob::errorStringParsingBodyException(const QByteArray &body) const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user