diff options
Diffstat (limited to 'ark/tar.cpp')
| -rw-r--r-- | ark/tar.cpp | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/ark/tar.cpp b/ark/tar.cpp index 0c6f3d2..cef9596 100644 --- a/ark/tar.cpp +++ b/ark/tar.cpp @@ -200,6 +200,9 @@ TQString TarArch::getCompressor()      if ( m_fileMimeType == "application/x-tbz" )          return TQString( "bzip2" ); +    if ( m_fileMimeType == "application/x-tlzma" ) +        return TQString( "lzma" ); +      if ( m_fileMimeType == "application/x-tlz" )          return TQString( "lzip" ); @@ -224,6 +227,9 @@ TQString TarArch::getUnCompressor()      if ( m_fileMimeType == "application/x-tbz" )          return TQString( "bunzip2" ); +    if ( m_fileMimeType == "application/x-tlzma" ) +        return TQString( "lzma" ); +      if ( m_fileMimeType == "application/x-tlz" )          return TQString( "lzip" ); @@ -389,7 +395,7 @@ void TarArch::createTmp()              kdDebug(1601) << "Uncompressor is " << strUncompressor << endl;              *kp << strUncompressor;              TDEProcess::Communication flag = TDEProcess::AllOutput; -            if (strUncompressor == "lzip") { +            if (strUncompressor == "lzip" || strUncompressor == "lzma") {                  *kp << "-d";              }              else if (strUncompressor == "lzop") | 
