Show error reason for blacklisted files in sync activity.

This commit is contained in:
Klaas Freitag 2013-12-12 12:21:24 +01:00
Родитель 09745c7f75
Коммит ec77ecfd0f
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -235,7 +235,9 @@ bool CSyncThread::checkBlacklisting( SyncFileItem *item )
if( re ) { if( re ) {
qDebug() << "Item is on blacklist: " << entry._file << "retries:" << entry._retryCount; qDebug() << "Item is on blacklist: " << entry._file << "retries:" << entry._retryCount;
item->_instruction = CSYNC_INSTRUCTION_IGNORE; 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 ); slotProgress( Progress::SoftError, *item );
} }
} }