From dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2017 16:28:47 +0900 Subject: [PATCH] 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 --- konq-plugins/arkplugin/arkplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konq-plugins/arkplugin/arkplugin.cpp b/konq-plugins/arkplugin/arkplugin.cpp index 7410ced..42d2c27 100644 --- a/konq-plugins/arkplugin/arkplugin.cpp +++ b/konq-plugins/arkplugin/arkplugin.cpp @@ -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"; }