diff --git a/kbbthememanager.cpp b/kbbthememanager.cpp --- a/kbbthememanager.cpp +++ b/kbbthememanager.cpp @@ -54,7 +54,7 @@ // 2. for non SVG items QFile svgzFile(svgzFileName); - QIODevice *f = KFilterDev::device(&svgzFile, QStringLiteral("application/x-gzip"), false); + KCompressionDevice *f = new KCompressionDevice(&svgzFile, false, KCompressionDevice::GZip); if (f) { QDomDocument doc;