mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Handle new sync result enum.
This commit is contained in:
parent
be328581a7
commit
c7d30bae98
2 changed files with 5 additions and 1 deletions
|
@ -557,7 +557,8 @@ SyncResult FolderMan::accountStatus(const QList<Folder*> &folders)
|
|||
if ( overallResult.status() != SyncResult::Error )
|
||||
overallResult.setStatus( SyncResult::SetupError );
|
||||
break;
|
||||
|
||||
case SyncResult::SyncAbortRequested:
|
||||
break;
|
||||
// no default case on purpose, check compiler warnings
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,6 +67,9 @@ QString SyncResult::statusString() const
|
|||
case Unavailable:
|
||||
re = QLatin1String("Not availabe");
|
||||
break;
|
||||
case SyncAbortRequested:
|
||||
re = QLatin1String("Sync Request aborted by user");
|
||||
break;
|
||||
}
|
||||
return re;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue