зеркало из https://github.com/nextcloud/desktop.git
tidy code by fixing one clazy reported warning
use QString::arg with multiple parameters because that is faster Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Родитель
9a2f07d53b
Коммит
2742c6a5a1
|
@ -244,8 +244,7 @@ void PropagateLocalRename::start()
|
|||
// it would have to come out the localFileNameClash function
|
||||
done(SyncFileItem::NormalError,
|
||||
tr("File %1 cannot be renamed to %2 because of a local file name clash")
|
||||
.arg(QDir::toNativeSeparators(_item->_file))
|
||||
.arg(QDir::toNativeSeparators(_item->_renameTarget)));
|
||||
.arg(QDir::toNativeSeparators(_item->_file), QDir::toNativeSeparators(_item->_renameTarget)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче