diff options
-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 ) { |