summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp
index 7322524..83228c4 100644
--- a/src/scanviewer.cpp
+++ b/src/scanviewer.cpp
@@ -436,6 +436,21 @@ void ScanViewer::slotScan(const TQStringList & filepattern, int mode, bool recur
if (!(KlamavConfig::scanMacros()))
options += "--scan-ole2=no ";
+ if(!(KlamavConfig::scanELF()))
+ options += "--scan-elf=no ";
+
+ if(!(KlamavConfig::scanPDF()))
+ options += "--scan-pdf=no ";
+
+ if(!(KlamavConfig::scanHWP3()))
+ options += "--scan-hwp3=no ";
+
+ if(!(KlamavConfig::scanSWF()))
+ options += "--scan-pdf=no ";
+
+ if(!(KlamavConfig::scanXML()))
+ options += "--scan-xmldocs=no ";
+
if (KlamavConfig::virusBroken())
options += "--alert-broken ";