summaryrefslogtreecommitdiffstats
path: root/konq-plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2017-11-26 16:28:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2017-11-26 16:31:22 +0900
commit4fe8d8d5aacafc7b207c453e43bb242720b4fba3 (patch)
tree9e1a801013aef09944ed175bece005dd42d635bb /konq-plugins
parent8621eda975d15332a50a95d2576cd5f8bfbefebe (diff)
downloadtdeaddons-4fe8d8d5aacafc7b207c453e43bb242720b4fba3.tar.gz
tdeaddons-4fe8d8d5aacafc7b207c453e43bb242720b4fba3.zip
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> (cherry picked from commit dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548)
Diffstat (limited to 'konq-plugins')
-rw-r--r--konq-plugins/arkplugin/arkplugin.cpp4
1 files 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";
}