diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-18 08:16:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-18 08:16:33 +0000 |
commit | 08f47b2561ea9c2c160454e46ab54a3b4f3bf5a8 (patch) | |
tree | d340b4f7209b55565099d41479dfd475de8446ba /konq-plugins/arkplugin/arkplugin.cpp | |
parent | 29f1d0b48d05cff4f498b87b3e71254903002021 (diff) | |
download | tdeaddons-08f47b2561ea9c2c160454e46ab54a3b4f3bf5a8.tar.gz tdeaddons-08f47b2561ea9c2c160454e46ab54a3b4f3bf5a8.zip |
Enable xz and lzma compress menu support by default
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1165085 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/arkplugin/arkplugin.cpp')
-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 1295ada..97513b8 100644 --- a/konq-plugins/arkplugin/arkplugin.cpp +++ b/konq-plugins/arkplugin/arkplugin.cpp @@ -285,14 +285,14 @@ void ArkMenu::compMimeTypes() } bool havelzma = false; - if ( !KStandardDirs::findExe( "lzma" ).isNull() && m_conf->readBoolEntry( "UseLzma", false ) ) + if ( !KStandardDirs::findExe( "lzma" ).isNull() && m_conf->readBoolEntry( "UseLzma", true ) ) { havelzma = true; m_archiveMimeTypes << "application/x-lzma"; } bool havexz = false; - if ( !KStandardDirs::findExe( "xz" ).isNull() && m_conf->readBoolEntry( "UseXz", false ) ) + if ( !KStandardDirs::findExe( "xz" ).isNull() && m_conf->readBoolEntry( "UseXz", true ) ) { havexz = true; m_archiveMimeTypes << "application/x-xz"; |