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:
parent
ab33b1a05d
commit
830332d3ec
4 changed files with 27 additions and 10 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue