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:
Matthieu Gallien 2024-10-10 10:36:16 +02:00
Родитель d4f28b2a51
Коммит 3835d377ff
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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();