summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 21:31:10 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 21:31:10 +0000
commitfaf41e2e003357925ad558eda7992f3db38ce5d6 (patch)
tree2215598257fd7c00849e5d22825ecc548ccfbf57 /kio
parentffcb34f4b88f6e3974d45d6c2b91d68ef051e917 (diff)
downloadtdelibs-faf41e2e003357925ad558eda7992f3db38ce5d6.tar.gz
tdelibs-faf41e2e003357925ad558eda7992f3db38ce5d6.zip
More xz/lzma fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1164891 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/ktar.cpp7
1 files 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 ) {