diff options
Diffstat (limited to 'src/klamscan.cpp')
-rw-r--r-- | src/klamscan.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/klamscan.cpp b/src/klamscan.cpp index 16de3c8..e0d9419 100644 --- a/src/klamscan.cpp +++ b/src/klamscan.cpp @@ -4,7 +4,6 @@ #include "klamscan.h" #include "klamav.h" -#include "klamd.h" #include "klamscanoptions.h" #include "schedule.h" #include "directorylist.h" @@ -379,10 +378,7 @@ void Klamscan::scanURLs(const TQString &urls) void Klamscan::slotStopScanning(){ - if (tdemain->klamd->isKlamdAlive()) - tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_enabled")); - else - tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); + tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); ////kdDebug() << tabBrowser->currentPage()->name() << endl; ScanViewer* cur = static_cast<ScanViewer*>(tabBrowser->currentPage()); @@ -408,10 +404,7 @@ void Klamscan::slotStartAgain(){ void Klamscan::slotRemoveTab(){ - if (tdemain->klamd->isKlamdAlive()) - tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_enabled")); - else - tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); + tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); ////kdDebug() << tabBrowser->currentPage()->name() << endl; if (tabBrowser->currentPageIndex() != 0){ slotStopScanning(); |