diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 21:31:10 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 21:31:10 +0000 |
commit | faf41e2e003357925ad558eda7992f3db38ce5d6 (patch) | |
tree | 2215598257fd7c00849e5d22825ecc548ccfbf57 | |
parent | ffcb34f4b88f6e3974d45d6c2b91d68ef051e917 (diff) | |
download | tdelibs-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
-rw-r--r-- | kio/kio/ktar.cpp | 7 |
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 ) { |