зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #7290 from nextcloud/bugfix/improveLogsAgainFromUsingThem
Cleaning logs
This commit is contained in:
Коммит
ceaa125536
|
@ -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();
|
||||
|
|
|
@ -1521,7 +1521,6 @@ void PropagateDirectory::slotSubJobsFinished(SyncFileItem::Status status)
|
|||
}
|
||||
}
|
||||
_state = Finished;
|
||||
qCInfo(lcPropagator) << "PropagateDirectory::slotSubJobsFinished" << "emit finished" << status << _item->_file;
|
||||
emit finished(status);
|
||||
}
|
||||
|
||||
|
|
|
@ -1119,7 +1119,7 @@ bool SyncEngine::handleMassDeletion()
|
|||
const auto filesDeletedThresholdExceeded = deletionCounter > ConfigFile().deleteFilesThreshold();
|
||||
|
||||
if ((allFilesDeleted || filesDeletedThresholdExceeded) && displayDialog) {
|
||||
qCInfo(lcEngine) << "All the files are going to be changed, asking the user";
|
||||
qCWarning(lcEngine) << "Many files are going to be deleted, asking the user";
|
||||
int side = 0; // > 0 means more deleted on the server. < 0 means more deleted on the client
|
||||
for (const auto &it : qAsConst(_syncItems)) {
|
||||
if (it->_instruction == CSYNC_INSTRUCTION_REMOVE) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче