mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
no need to set twice the error string
done() is already taking care of that
This commit is contained in:
parent
80a01ecff3
commit
99eeaa0db5
1 changed files with 0 additions and 3 deletions
|
@ -381,11 +381,8 @@ void PropagateUploadFile::start()
|
|||
|
||||
const QString errMsg = tr("Local file changed during sync, syncing once it arrived completely");
|
||||
done( SyncFileItem::SoftError, errMsg );
|
||||
_item._errorString = errMsg;
|
||||
return;
|
||||
} else if( state == HBF_USER_ABORTED ) {
|
||||
const QString errMsg = tr("Sync was aborted by user.");
|
||||
_item._errorString = errMsg;
|
||||
done( SyncFileItem::SoftError, errMsg );
|
||||
} else {
|
||||
// Other HBF error conditions.
|
||||
|
|
Loading…
Reference in a new issue