diff options
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r-- | src/klamav.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp index 734858c..a79a58d 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -6,6 +6,7 @@ #include "freshklam.h" #include "sigtool.h" #include "klamscan.h" +#include "schedule.h" #include "kuarantine.h" #include "welcome.h" #include "dbviewer.h" @@ -289,8 +290,12 @@ void Klamav::slotScanDir() { } void Klamav::slotScheduleScan() { - klamscan->slotSchedule(); + Schedule *schedule_dlg = new Schedule(this, "scheduler"); + schedule_dlg->show(); + schedule_dlg->raise(); + schedule_dlg->setActiveWindow(); } + void Klamav::slotOptions() { slotConfigKlamav("Scanning Backend"); } |