GH-1227 renam GZip functions to not collide with zlib macros

This commit is contained in:
Petr Mrázek
2015-09-14 02:36:03 +02:00
parent e38cc1d480
commit dd8eacee1b
5 changed files with 10 additions and 8 deletions

View File

@ -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()));