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/scanviewer.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/scanviewer.cpp')
-rw-r--r-- | src/scanviewer.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp index c9c60f0..ca2df18 100644 --- a/src/scanviewer.cpp +++ b/src/scanviewer.cpp @@ -8,7 +8,6 @@ #include "directorylist.h" #include "dbviewer.h" #include "collectiondb.h" -#include "klamd.h" #include <config.h> #include "klamavconfig.h" @@ -594,10 +593,7 @@ void ScanViewer::slotCancel() void ScanViewer::resetSysTray() { - 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")); } void ScanViewer::childExited() @@ -750,12 +746,9 @@ void ScanViewer::Quarantine(){ } } - if (allQuarantined) { - if (tdemain->klamd->isKlamdAlive()) - tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_enabled")); - else + if (allQuarantined) tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); - }else + else tdemain->_tray->setPixmap(KSystemTray::loadIcon("klamav_scan_found")); config->writeEntry(TQString("Items %1").arg(quarloc), lastQuarItems); config->sync(); |