summaryrefslogtreecommitdiffstats
path: root/src/klamscan.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-02-19 12:41:58 +0200
committerMavridis Philippe <[email protected]>2021-02-19 12:41:58 +0200
commit9bbac10f3cbbb5b2ae94309149cf91f28cb8707d (patch)
tree723c8dd4feddf9bde2e5bdd36566525aea095b24 /src/klamscan.cpp
parentc9462edae6160a16f11d7a572fe01c9f4e1b78cd (diff)
downloadklamav-9bbac10f3cbbb5b2ae94309149cf91f28cb8707d.tar.gz
klamav-9bbac10f3cbbb5b2ae94309149cf91f28cb8707d.zip
CollectionSetup: modified pruneSelectedDirs() to accept an argument
instead of reading the widget by itself. It is now possible to call CollectionSetup::pruneSelectedDirs(dirs) independently from a CollectionSetup object. Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klamscan.cpp')
-rw-r--r--src/klamscan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/klamscan.cpp b/src/klamscan.cpp
index 0e0812e..1b04aca 100644
--- a/src/klamscan.cpp
+++ b/src/klamscan.cpp
@@ -253,7 +253,7 @@ void Klamscan::slotScan()
prevdir = listOfUrlsToScan.first();
}else{
- filepattern = setup->pruneSelectedDirs();
+ filepattern = setup->pruneSelectedDirs(setup->dirs());
}
scan( filepattern );
@@ -302,7 +302,7 @@ void Klamscan::slotAdvOptions(){
void Klamscan::slotSchedule(){
- TQStringList filepattern = setup->pruneSelectedDirs();
+ TQStringList filepattern = setup->pruneSelectedDirs(setup->dirs());
if (filepattern.isEmpty()){