Commit fc09e52f authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Port away from deprecated KArchive method

parent 962af72c
......@@ -294,7 +294,7 @@ QByteArray Manifest::decryptFile( const QString &filename, const QByteArray &fil
return QByteArray();
}
QIODevice *decompresserDevice = KFilterDev::device( new QBuffer( &decryptedData, 0 ), QStringLiteral("application/x-gzip"), true );
QIODevice *decompresserDevice = new KCompressionDevice( new QBuffer( &decryptedData, 0 ), true, KCompressionDevice::GZip);
if( !decompresserDevice ) {
qCDebug(OkularOooDebug) << "Couldn't create decompressor";
// hopefully it isn't compressed then!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment