Changed: Display also destination in error

This commit is contained in:
kervala 2016-10-17 11:17:35 +02:00
parent ae56643f3a
commit 681d3b5c73

View file

@ -166,7 +166,7 @@ bool CFilesCopier::copyFiles(const FilesToCopy &files)
if (!QFile::copy(file.src, file.dst)) 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; return false;
} }