From db5816b0a20aac63fb97188ea2034903db254bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 10 Sep 2015 00:02:02 +0200 Subject: GH-1227 fix zlib nonsense on Windows --- application/pages/OtherLogsPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/pages') diff --git a/application/pages/OtherLogsPage.cpp b/application/pages/OtherLogsPage.cpp index d59f0451..b3481bfb 100644 --- a/application/pages/OtherLogsPage.cpp +++ b/application/pages/OtherLogsPage.cpp @@ -130,7 +130,7 @@ void OtherLogsPage::on_btnReload_clicked() if(file.fileName().endsWith(".gz")) { QByteArray temp; - if(!GZip::inflate(file.readAll(), temp)) + if(!GZip::decompress(file.readAll(), temp)) { ui->text->setPlainText( tr("The file (%1) is not readable.").arg(file.fileName())); -- cgit v1.2.3