зеркало из https://github.com/nextcloud/desktop.git
remove info level output from activity list model: not so usefull
they just are printed when everything is working fine Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Родитель
d4f28b2a51
Коммит
3835d377ff
|
@ -656,14 +656,8 @@ void ActivityListModel::removeActivityFromActivityList(int row)
|
|||
|
||||
void ActivityListModel::removeActivityFromActivityList(const Activity &activity)
|
||||
{
|
||||
qCInfo(lcActivity) << "Activity/Notification/Error successfully dismissed: " << activity._subject;
|
||||
qCInfo(lcActivity) << "Trying to remove Activity/Notification/Error from view... ";
|
||||
|
||||
const auto index = _finalList.indexOf(activity);
|
||||
if (index != -1) {
|
||||
qCInfo(lcActivity) << "Activity/Notification/Error successfully removed from the list.";
|
||||
qCInfo(lcActivity) << "Updating Activity/Notification/Error view.";
|
||||
|
||||
beginRemoveRows({}, index, index);
|
||||
_finalList.removeAt(index);
|
||||
endRemoveRows();
|
||||
|
|
Загрузка…
Ссылка в новой задаче