Removed double entry for rar mimetype in "compress as" menu.

Fixed up lzma code for extraction (a minor part of the patch from Brian James
was mistakenly left out in the previous commit - thanks Brian James).

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 7 years ago
parent 33b03b13d6
commit dbd30d1175

@ -325,7 +325,7 @@ void ArkMenu::compMimeTypes()
}
if ( !TDEStandardDirs::findExe( "rar" ).isNull() && m_conf->readBoolEntry( "UseRar", true ) )
m_archiveMimeTypes << "application/x-rar" << "application/x-rar-compressed";
m_archiveMimeTypes << "application/x-rar";
if ( !TDEStandardDirs::findExe( "7z" ).isNull() && m_conf->readBoolEntry( "Use7z", true ) )
m_archiveMimeTypes << "application/x-7z";
@ -396,7 +396,7 @@ void ArkMenu::extMimeTypes()
if ( havelzop )
m_extractMimeTypes << "application/x-tzo";
if ( havelzma )
m_extractMimeTypes << "application/x-lzma";
m_extractMimeTypes << "application/x-tlz";
if ( havexz )
m_extractMimeTypes << "application/x-txz";
}

Loading…
Cancel
Save