1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Added a progress value for ZipFile::Builder.

This commit is contained in:
jules 2012-04-12 13:35:02 +01:00
parent ab33b1a05d
commit 830332d3ec
4 changed files with 27 additions and 10 deletions

View file

@ -130,7 +130,7 @@ namespace
TemporaryFile temp (targetFile);
ScopedPointer<FileOutputStream> out (temp.getFile().createOutputStream());
bool ok = out != nullptr && zip.writeToStream (*out);
bool ok = out != nullptr && zip.writeToStream (*out, nullptr);
out = nullptr;
ok = ok && temp.overwriteTargetFileWithTemporary();