diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2017-11-26 16:28:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2017-11-26 16:28:47 +0900 |
commit | dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548 (patch) | |
tree | 7705eb1ded7ad8fad2fff12c0034e02a6feffa1e | |
parent | 33b03b13d6916cd48e5e079cba10fd0c33da87a6 (diff) | |
download | tdeaddons-dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548.tar.gz tdeaddons-dbd30d11751ffd2a1f4f8e14c2c4ce8ceda55548.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>
-rw-r--r-- | konq-plugins/arkplugin/arkplugin.cpp | 4 |
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"; } |