Changed: Display also destination in error

--HG--
branch : develop
This commit is contained in:
kervala 2016-10-17 11:17:35 +02:00
parent 48f013a86e
commit f40e6deb7a

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;
} }