From faf41e2e003357925ad558eda7992f3db38ce5d6 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Tue, 17 Aug 2010 21:31:10 +0000
Subject: More xz/lzma fixes

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1164891 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 kio/kio/ktar.cpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/kio/kio/ktar.cpp b/kio/kio/ktar.cpp
index e5173fdbc..0d508329a 100644
--- a/kio/kio/ktar.cpp
+++ b/kio/kio/ktar.cpp
@@ -510,9 +510,10 @@ bool KTar::KTarPrivate::writeBackTempFile( const TQString & filename ) {
 
     bool forced = false;
     if( "application/x-gzip" == mimetype
-        || "application/x-bzip2" == mimetype)
-        forced = true;
-
+        || "application/x-bzip2" == mimetype
+        || "application/x-lzma" == mimetype
+        || "application/x-xz" == mimetype)
+            forced = true;
 
     TQIODevice *dev = KFilterDev::deviceForFile( filename, mimetype, forced );
     if( dev ) {
-- 
cgit v1.2.3

