From dd8eacee1b28ca40f8dc770587d111656d92d5fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 14 Sep 2015 02:36:03 +0200 Subject: GH-1227 renam GZip functions to not collide with zlib macros --- application/pages/OtherLogsPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/pages/OtherLogsPage.cpp') diff --git a/application/pages/OtherLogsPage.cpp b/application/pages/OtherLogsPage.cpp index b3481bfb..74257a83 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::decompress(file.readAll(), temp)) + if(!GZip::unzip(file.readAll(), temp)) { ui->text->setPlainText( tr("The file (%1) is not readable.").arg(file.fileName())); -- cgit v1.2.3