Removed duplicated rar file mimetype. This relates to bug 2794.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Ray Vine 7 years ago committed by Michele Calgaro
parent 63d1a3f24d
commit 256b5e1830

@ -408,7 +408,7 @@ void ArkMenu::extMimeTypes()
m_extractMimeTypes << "application/x-zip" << "application/x-jar"; m_extractMimeTypes << "application/x-zip" << "application/x-jar";
if ( !TDEStandardDirs::findExe( "unrar" ).isNull() ) if ( !TDEStandardDirs::findExe( "unrar" ).isNull() )
m_extractMimeTypes << "application/x-rar" << "application/x-rar-compressed"; m_extractMimeTypes << "application/x-rar";
if ( !TDEStandardDirs::findExe( "7z" ).isNull() || !TDEStandardDirs::findExe( "7za" ).isNull() || !TDEStandardDirs::findExe( "7zr" ).isNull() ) if ( !TDEStandardDirs::findExe( "7z" ).isNull() || !TDEStandardDirs::findExe( "7za" ).isNull() || !TDEStandardDirs::findExe( "7zr" ).isNull() )
m_extractMimeTypes << "application/x-7z"; m_extractMimeTypes << "application/x-7z";

Loading…
Cancel
Save