Commit 32e486a9 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix copyRecursively not returning when it should



Change-Id: I5d81ede970340e11d789564d9153284236ea426d
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 0a33ef36
......@@ -134,8 +134,8 @@ bool FileUtils::copyRecursively(const QString &srcFilePath,
if (error) {
*error = QCoreApplication::translate("Utils::FileUtils", "Failed to create directory '%1'.")
.arg(QDir::toNativeSeparators(tgtFilePath));
return false;
}
return false;
}
QDir sourceDir(srcFilePath);
QStringList fileNames = sourceDir.entryList(QDir::Files | QDir::Dirs | QDir::NoDotAndDotDot | QDir::Hidden | QDir::System);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment