GH-1227 fix zlib nonsense on Windows

This commit is contained in:
Petr Mrázek
2015-09-10 00:02:02 +02:00
parent a1fd50e920
commit db5816b0a2
4 changed files with 4 additions and 8 deletions

View File

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