summaryrefslogtreecommitdiffstats
path: root/src/network/access/qdecompresshelper_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/access/qdecompresshelper_p.h')
-rw-r--r--src/network/access/qdecompresshelper_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qdecompresshelper_p.h b/src/network/access/qdecompresshelper_p.h
index b0b60b2119..aa256f61bb 100644
--- a/src/network/access/qdecompresshelper_p.h
+++ b/src/network/access/qdecompresshelper_p.h
@@ -96,6 +96,8 @@ public:
static bool isSupportedEncoding(const QByteArray &encoding);
static QByteArrayList acceptedEncoding();
+ QString errorString() const;
+
private:
bool isPotentialArchiveBomb() const;
bool hasDataInternal() const;
@@ -120,6 +122,8 @@ private:
bool countDecompressed = false;
std::unique_ptr<QDecompressHelper> countHelper;
+ QString errorStr;
+
// Used for calculating the ratio
qint64 archiveBombCheckThreshold = 10 * 1024 * 1024;
qint64 totalUncompressedBytes = 0;