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
v3.5.13-sru
tpearson 14 years ago
parent 29f1d0b48d
commit 08f47b2561

@ -285,14 +285,14 @@ void ArkMenu::compMimeTypes()
} }
bool havelzma = false; 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; havelzma = true;
m_archiveMimeTypes << "application/x-lzma"; m_archiveMimeTypes << "application/x-lzma";
} }
bool havexz = false; 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; havexz = true;
m_archiveMimeTypes << "application/x-xz"; m_archiveMimeTypes << "application/x-xz";

Loading…
Cancel
Save