Commit 53aa4f49 authored by Craig Watson's avatar Craig Watson

Remove multiple calls to QuazipFile::close() on the same file

parent ecb88480
......@@ -711,11 +711,9 @@ bool UBFileSystemUtils::compressDirInZip(const QDir& pDir, const QString& pDestP
qWarning() << "Compression of file" << inFile.fileName() << " failed. Cause: outFile.close(): " << pOutZipFile->getZipError();
inFile.close();
pOutZipFile->close();
return false;
}
pOutZipFile->close();
inFile.close();
}
}
......
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