mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Remove unneeded error variable
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
1a2afd4576
commit
0daec2071e
@ -845,11 +845,10 @@ void FolderStatusModel::slotLscolFinishedWithError(QNetworkReply *reply)
|
||||
if (parentInfo) {
|
||||
qCDebug(lcFolderStatus) << reply->errorString();
|
||||
parentInfo->_lastErrorString = reply->errorString();
|
||||
auto error = reply->error();
|
||||
|
||||
parentInfo->resetSubs(this, idx);
|
||||
|
||||
if (error == QNetworkReply::ContentNotFoundError) {
|
||||
if (reply->error() == QNetworkReply::ContentNotFoundError) {
|
||||
parentInfo->_fetched = true;
|
||||
} else {
|
||||
ASSERT(!parentInfo->hasLabel());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user