From 4fe8d8d5aacafc7b207c453e43bb242720b4fba3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2017 16:28:47 +0900 Subject: 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 (cherry picked from commit dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548) --- konq-plugins/arkplugin/arkplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'konq-plugins') 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"; } -- cgit v1.2.1