diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 14:08:07 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 14:08:07 +0200 |
commit | 71fe8d5be5cd4147b20aaba775e9573ebcf85860 (patch) | |
tree | d9c245e5b6721599d1bf2de96949fb7c66701a9d /src/klamscan.cpp | |
parent | 75f04527489372ae40c94e690013e0c84b0a7ca5 (diff) | |
download | klamav-71fe8d5be5cd4147b20aaba775e9573ebcf85860.tar.gz klamav-71fe8d5be5cd4147b20aaba775e9573ebcf85860.zip |
Removed Klamd and Dazuko/Clamuko/Klamd-related code.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
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(); |