Logo Search packages:      
Sourcecode: kdar version File versions  Download package

void KDarConfig::disableBZ2Compression (  ) 

Disables BZ2 compression features (i.e. libdar does not support BZ2 compression)

Definition at line 2231 of file kdarConfig.cpp.

References m_BZ2Compression, and setCompressionAlgorithm().

Referenced by disableCompressionModule(), and kdarView::disableFeatures().

{
    bzip2RadioButton->setEnabled( false );
    if ( bzip2RadioButton->isChecked() )
    {
        bzip2RadioButton->setChecked( false );
        noneRadioButton->setChecked( true );
        setCompressionAlgorithm( libdar::none );
    }

    if ( bzip2QHBox )
    {
        bzip2QHBox->remove( bzip2RadioButton );
        delete bzip2QHBox;
        bzip2QHBox = 0;
        bzip2RadioButton->hide();
    }

    m_BZ2Compression = false;
}


Generated by  Doxygen 1.6.0   Back to index