diff options
author | Mavridis Philippe <[email protected]> | 2021-01-14 20:40:57 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-01-14 20:40:57 +0200 |
commit | f84093be98c2b95e8cad2d56aa8635887dad8faf (patch) | |
tree | ccf19a0c2dffe6526f0f66e7aa1f9686f14020c4 /src/klamav.cpp | |
parent | 0635dcaa5cdb0e2966135b4d6611ae19f0fab749 (diff) | |
download | klamav-f84093be98c2b95e8cad2d56aa8635887dad8faf.tar.gz klamav-f84093be98c2b95e8cad2d56aa8635887dad8faf.zip |
Implemented slotScanDir(), slotScanFile()
The scan initialisation function in klamscan.* had to be modified a bit.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r-- | src/klamav.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp index 638f0a3..f0cabc0 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -245,8 +245,14 @@ void Klamav::updateTabState( int tabId, bool init ) { } // Menu slots -void Klamav::slotScanFile() {} -void Klamav::slotScanDir() {} +void Klamav::slotScanFile() { + klamscan->slotScanFile(); +} + +void Klamav::slotScanDir() { + klamscan->slotScanDir(); +} + void Klamav::slotScheduleScan() { klamscan->slotSchedule(); } |