Commit ec320540 authored by Ragnar Thomsen's avatar Ragnar Thomsen
Browse files

libzip: Enable progress when batch-extracting

Reimplement hasBatchExtractionProgress() in LibzipPlugin so progress
works when batch-extracting.

Partially resolves bug 382599.
CCBUG: 382599
Differential Revision: D28722
parent 918cb63a
......@@ -958,4 +958,10 @@ QString LibzipPlugin::permissionsToString(const mode_t &perm)
return modeval;
bool LibzipPlugin::hasBatchExtractionProgress() const
return true;
#include "libzipplugin.moc"
......@@ -51,6 +51,7 @@ public:
bool copyFiles(const QVector<Archive::Entry*> &files, Archive::Entry *destination, const CompressionOptions &options) override;
bool addComment(const QString& comment) override;
bool testArchive() override;
bool hasBatchExtractionProgress() const override;
bool extractEntry(zip_t *archive, const QString &entry, const QString &rootNode, const QString &destDir, bool preservePaths, bool removeRootNode);
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