summaryrefslogtreecommitdiffstats
path: root/src/klamscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/klamscan.cpp')
-rw-r--r--src/klamscan.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/klamscan.cpp b/src/klamscan.cpp
index 1b04aca..ea5c92e 100644
--- a/src/klamscan.cpp
+++ b/src/klamscan.cpp
@@ -108,8 +108,7 @@ Klamscan::Klamscan(TQWidget *parent, const char *name)
schedule->adjustSize();
layout->addWidget(schedule,0,4);
- connect( schedule, SIGNAL(clicked()),
- SLOT(slotSchedule()) );
+ connect( schedule, SIGNAL(clicked()), tdemain, SLOT(slotScheduleScan()) );
TQToolButton* adv_options = new TQToolButton( privateLayoutWidget2,"play" );
@@ -300,24 +299,6 @@ void Klamscan::slotAdvOptions(){
}
-void Klamscan::slotSchedule(){
-
- TQStringList filepattern = setup->pruneSelectedDirs(setup->dirs());
-
-
- if (filepattern.isEmpty()){
- KMessageBox::error(this, i18n( "Please select something to scan!") );
- return;
- }
-
- Schedule *dialog = new Schedule( this, filepattern, "settings");
- dialog->show();
- dialog->raise();
- dialog->setActiveWindow();
-
-
-}
-
void Klamscan::setDefaults(){