summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 20:40:08 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 20:40:08 (GMT)
commitfc09e52fc30d3ddb6799310e4036ece314073da7 (patch)
treeeed9e64e11cc5d89998924a0e82a1c7cc75d775f
parent962af72cc1bf1234d274779c02bbb4e6d9ebc757 (diff)
Port away from deprecated KArchive method
-rw-r--r--generators/ooo/manifest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generators/ooo/manifest.cpp b/generators/ooo/manifest.cpp
index b71d8e3..53ab82f 100644
--- a/generators/ooo/manifest.cpp
+++ b/generators/ooo/manifest.cpp
@@ -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!