summaryrefslogtreecommitdiffstats
path: root/depends/quazip
diff options
context:
space:
mode:
Diffstat (limited to 'depends/quazip')
-rw-r--r--depends/quazip/JlCompress.cpp2
-rw-r--r--depends/quazip/JlCompress.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/depends/quazip/JlCompress.cpp b/depends/quazip/JlCompress.cpp
index 69832140..19bf6246 100644
--- a/depends/quazip/JlCompress.cpp
+++ b/depends/quazip/JlCompress.cpp
@@ -1,7 +1,7 @@
#include "JlCompress.h"
#include <QDebug>
-static bool copyData(QIODevice &inFile, QIODevice &outFile)
+bool JlCompress::copyData(QIODevice &inFile, QIODevice &outFile)
{
while (!inFile.atEnd()) {
char buf[4096];
diff --git a/depends/quazip/JlCompress.h b/depends/quazip/JlCompress.h
index 29d6191f..9679de7c 100644
--- a/depends/quazip/JlCompress.h
+++ b/depends/quazip/JlCompress.h
@@ -51,6 +51,8 @@ private:
static bool removeFile(QStringList listFile);
public:
+ /// copy data from inFile to outFile
+ static bool copyData(QIODevice &inFile, QIODevice &outFile);
/// Compress a single file.
/**
\param fileCompressed The name of the archive.