mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
gui/tray: Simplify folderErrors in sync status summary
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com> f simp Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
00b02cf545
commit
3f2bb42bb3
@ -104,7 +104,7 @@ void SyncStatusSummary::markFolderAsSuccess(const Folder *folder)
|
||||
|
||||
bool SyncStatusSummary::folderErrors() const
|
||||
{
|
||||
return _foldersWithErrors.size() != 0;
|
||||
return !_foldersWithErrors.empty();
|
||||
}
|
||||
|
||||
bool SyncStatusSummary::folderError(const Folder *folder) const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user