summaryrefslogtreecommitdiffstats
path: root/src/configdialog.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-02-05 23:03:54 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-02-05 23:08:45 +0200
commitbce9b7501ce96635e4c1c27093abe1aaae9a34b4 (patch)
tree79462f7f053bbfa94975688792934c33bfd4b5e8 /src/configdialog.cpp
parent18923e403764c902e11aa2c8cd49c6f7335a9923 (diff)
downloadklamav-bce9b7501ce96635e4c1c27093abe1aaae9a34b4.tar.gz
klamav-bce9b7501ce96635e4c1c27093abe1aaae9a34b4.zip
Updated command-line switches.
Deprecated archive extraction options were removed and some switches were renamed according to changes in ClamAV 0.101.0. ClamAV seems to handle archive extraction fully on its own and thus those options are not provided by clamscan anymore. This relates to issue #15. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r--src/configdialog.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/configdialog.cpp b/src/configdialog.cpp
index 94466db..b363550 100644
--- a/src/configdialog.cpp
+++ b/src/configdialog.cpp
@@ -16,7 +16,6 @@ email : markey@web.de
#include "configdialog.h"
#include "backend.h"
#include "archivelimits.h"
-#include "archivetypes.h"
#include "specialfiletypes.h"
/* #include "autoscanoptions.h" */
#include "logoptions.h"
@@ -56,7 +55,6 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC
// IMPORTANT Don't simply change the page names, they are used as identifiers in other parts of the app.
m_klambackend = new KlamBackend( 0, "Scanning Backend" );
m_archivelimits = new ArchiveLimits( 0, "Archive Limits" );
- m_archivetypes = new ArchiveTypes( 0, "Archive Types" );
m_emailprotection = new Sigtool ( 0, "E-mail protection" );
m_specialfiletypes = new SpecialFileTypes( 0, "File Types" );
/* m_autoscanoptions = new AutoScanOptions( 0, "Auto-Scan" ); */
@@ -68,7 +66,6 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC
slotToggleClamdscan( m_klambackend->kcfg_ScannerClamdscan->isOn() ); // initial state
addPage( m_archivelimits, i18n( "Archive Limits" ), "ark", i18n( "Configure Archive Limits" ) );
- addPage( m_archivetypes, i18n( "Archive Types" ), "application-x-tarz", i18n( "Configure Archive Types" ) );
addPage( m_emailprotection, i18n( "E-mail protection" ), "email", i18n( "Set up your e-mail client to use Klammail" ) );
addPage( m_specialfiletypes, i18n( "File Types" ), "folder", i18n( "Configure File Types" ) );
/* addPage( m_autoscanoptions, i18n( "Auto-Scan" ), "filefind", i18n( "Configure Auto-Scan" ) ); */
@@ -96,7 +93,6 @@ void KlamavConfigDialog::slotToggleClamdscan(bool on)
{
m_klambackend->kcfg_ClamdMultiscan->setEnabled(on);
m_archivelimits->setEnabled(!on);
- m_archivetypes->setEnabled(!on);
m_specialfiletypes->setEnabled(!on);
}