diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-10 00:02:02 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-10 00:02:02 +0200 |
commit | db5816b0a20aac63fb97188ea2034903db254bfa (patch) | |
tree | 56f45bfe3d74932dbaab4ff8c89da21544bcb10f /application/pages | |
parent | a1fd50e920eba0f198b898e5df4ff5f60424d355 (diff) | |
download | MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.gz MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.lz MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.tar.xz MultiMC-db5816b0a20aac63fb97188ea2034903db254bfa.zip |
GH-1227 fix zlib nonsense on Windows
Diffstat (limited to 'application/pages')
-rw-r--r-- | application/pages/OtherLogsPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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())); |