|
|
@ -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";
|
|
|
|