Changed: Display also destination in error

This commit is contained in:
kervala 2016-10-17 11:17:35 +02:00
parent 444aad7c8b
commit 089acb713e

View file

@ -166,7 +166,7 @@ bool CFilesCopier::copyFiles(const FilesToCopy &files)
if (!QFile::copy(file.src, file.dst))
{
if (m_listener) m_listener->operationFail(QApplication::tr("Unable to copy file %1").arg(file.src));
if (m_listener) m_listener->operationFail(QApplication::tr("Unable to copy file %1 to %2").arg(file.src).arg(file.dst));
return false;
}