Skip to content

Commit 2dce260

Browse files
committed
Remove leftover references to zlib
1 parent e2ff4ab commit 2dce260

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/subprojects/AutoEqIntegration/GzipDownloader.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <QtPromise>
99

1010
#define TMP_DIR "/tmp/jamesdsp/download/"
11-
#define CHUNK 16384
1211

1312
class GzipDownloader : public QObject
1413
{
@@ -41,18 +40,6 @@ private slots:
4140

4241
void cleanup();
4342

44-
/* Decompress from file source to file dest until stream ends or EOF. */
45-
/*inline void inflate(gzFile_s *source, FILE *dest)
46-
{
47-
unsigned char buf[CHUNK];
48-
49-
for (
50-
int size = gzread(source, buf, CHUNK);
51-
size > 0;
52-
size = gzread(source, buf, CHUNK)
53-
) std::fwrite(buf, 1, CHUNK, dest);
54-
}*/
55-
5643
private:
5744
QDir extractionPath;
5845
QFile downloadedFile;

0 commit comments

Comments
 (0)