GH-1227 fix zlib nonsense on Windows
This commit is contained in:
parent
a1fd50e920
commit
db5816b0a2
4 changed files with 4 additions and 8 deletions
|
@ -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()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue