/// Takes the error string from given file and emits an error indication. /// Closes the files and stops the copy. Always returns false bool error(QFile & f) { m_error = f.errorString(); m_error.append(QStringLiteral("(in %1 file").arg(f.objectName())); emit finished(false, m_error); close(); return false; }