mirror of
https://github.com/chylex/Nextcloud-Desktop.git
synced 2026-04-15 21:44:07 +02:00
Compare commits
1 Commits
v2.6.2-rc1
...
2.6.2-buil
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de8a7aa680 |
@@ -294,18 +294,27 @@ void ActivityListModel::combineActivityLists()
|
|||||||
{
|
{
|
||||||
ActivityList resultList;
|
ActivityList resultList;
|
||||||
|
|
||||||
std::sort(_notificationErrorsLists.begin(), _notificationErrorsLists.end());
|
if(_notificationErrorsLists.count() > 0) {
|
||||||
resultList.append(_notificationErrorsLists);
|
std::sort(_notificationErrorsLists.begin(), _notificationErrorsLists.end());
|
||||||
resultList.append(_notificationIgnoredFiles);
|
resultList.append(_notificationErrorsLists);
|
||||||
|
}
|
||||||
|
if(_listOfIgnoredFiles.size() > 0)
|
||||||
|
resultList.append(_notificationIgnoredFiles);
|
||||||
|
|
||||||
std::sort(_notificationLists.begin(), _notificationLists.end());
|
if(_notificationLists.count() > 0) {
|
||||||
resultList.append(_notificationLists);
|
std::sort(_notificationLists.begin(), _notificationLists.end());
|
||||||
|
resultList.append(_notificationLists);
|
||||||
|
}
|
||||||
|
|
||||||
std::sort(_syncFileItemLists.begin(), _syncFileItemLists.end());
|
if(_syncFileItemLists.count() > 0) {
|
||||||
resultList.append(_syncFileItemLists);
|
std::sort(_syncFileItemLists.begin(), _syncFileItemLists.end());
|
||||||
|
resultList.append(_syncFileItemLists);
|
||||||
|
}
|
||||||
|
|
||||||
std::sort(_activityLists.begin(), _activityLists.end());
|
if(_activityLists.count() > 0) {
|
||||||
resultList.append(_activityLists);
|
std::sort(_activityLists.begin(), _activityLists.end());
|
||||||
|
resultList.append(_activityLists);
|
||||||
|
}
|
||||||
|
|
||||||
beginResetModel();
|
beginResetModel();
|
||||||
_finalList.clear();
|
_finalList.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user