Show file name i the error message.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-07-28 12:44:14 +03:00
parent 01be3c5181
commit bedce69143

View File

@ -180,7 +180,7 @@ bool AbstractTest::CopyRecursively(const QString &srcFilePath, const QString &tg
QFile srcFile(srcFilePath); QFile srcFile(srcFilePath);
if (not srcFile.open(QFile::ReadOnly)) if (not srcFile.open(QFile::ReadOnly))
{ {
const QString msg = QString("Error: %3").arg(srcFile.errorString()); const QString msg = QString("Can't copy file '%1'. Error: %2").arg(srcFilePath).arg(srcFile.errorString());
QWARN(qUtf8Printable(msg)); QWARN(qUtf8Printable(msg));
return false; return false;
} }