зеркало из https://github.com/nextcloud/desktop.git
Show error reason for blacklisted files in sync activity.
This commit is contained in:
Родитель
09745c7f75
Коммит
ec77ecfd0f
|
@ -235,7 +235,9 @@ bool CSyncThread::checkBlacklisting( SyncFileItem *item )
|
|||
if( re ) {
|
||||
qDebug() << "Item is on blacklist: " << entry._file << "retries:" << entry._retryCount;
|
||||
item->_instruction = CSYNC_INSTRUCTION_IGNORE;
|
||||
item->_errorString = tr("The item is not synced because of previous errors.");
|
||||
// FIXME: put the error string into an .arg(..) later
|
||||
item->_errorString = tr("The item is not synced because of previous errors:")
|
||||
+ QLatin1String(" ")+ entry._errorString;
|
||||
slotProgress( Progress::SoftError, *item );
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче