summaryrefslogtreecommitdiffstats
path: root/src/freshklam.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:32:20 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:36:09 +0200
commit176a8117e0dc70b6368a92aadbe93e5da1c52c67 (patch)
treeae8bea2ef48e76c8dda2c052dc5a03fa032546b8 /src/freshklam.cpp
parent36e483ad0f29c4e01d9a4479fb10127a23b4c84e (diff)
downloadklamav-176a8117e0dc70b6368a92aadbe93e5da1c52c67.tar.gz
klamav-176a8117e0dc70b6368a92aadbe93e5da1c52c67.zip
eventsrc: Cleanup and clarification
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/freshklam.cpp')
-rw-r--r--src/freshklam.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/freshklam.cpp b/src/freshklam.cpp
index 18fc5cd..202b57c 100644
--- a/src/freshklam.cpp
+++ b/src/freshklam.cpp
@@ -296,30 +296,30 @@ void Freshklam::processOutput()
// -> Database updated
if ((pos = item2.find("daily.cvd updated")) != -1 || (pos = item2.find("daily.cld updated")) != -1 ){
CollectionDB::instance()->insertEvent("Updates","Daily Database Updated",dir_combo->url());
- KNotifyClient::event(tdemain->_tray->winId(),"UpdatedDatabase", "Updated Daily DB (1 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Virus Database Updated", "Updated Daily DB (1 out of 3).");
updateMailClient();
}
if ((pos = item2.find("main.cvd updated")) != -1 || (pos = item2.find("main.cld updated")) != -1 ){
- KNotifyClient::event(tdemain->_tray->winId(),"UpdatedDatabase", "Updated Main DB (2 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Virus Database Updated", "Updated Main DB (2 out of 3).");
}
if ((pos = item2.find("bytecode.cvd updated")) != -1 || (pos = item2.find("bytecode.cld updated")) != -1 ){
- KNotifyClient::event(tdemain->_tray->winId(),"UpdatedDatabase", "Updated Bytecode DB (3 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Virus Database Updated", "Updated Bytecode DB (3 out of 3).");
}
// -> Database already up to date
if ((pos = item2.find("daily.cvd database is up to date")) != -1 || (pos = item2.find("daily.cld database is up to date")) != -1){
- KNotifyClient::event(tdemain->_tray->winId(),"DatabaseUpToDate", "Daily DB Up To Date (1 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Database Up To Date", "Daily DB Up To Date (1 out of 3).");
updateMailClient();
}
if ((pos = item2.find("main.cvd database is up to date")) != -1 || (pos = item2.find("main.cld database is up to date")) != -1){
- KNotifyClient::event(tdemain->_tray->winId(),"DatabaseUpToDate", "Main DB Up To Date (2 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Database Up To Date", "Main DB Up To Date (2 out of 3).");
}
if ((pos = item2.find("bytecode.cvd database is up to date")) != -1 || (pos = item2.find("bytecode.cld database is up to date")) != -1){
- KNotifyClient::event(tdemain->_tray->winId(),"DatabaseUpToDate", "Bytecode DB Up To Date (3 out of 3).");
+ KNotifyClient::event(tdemain->_tray->winId(),"Database Up To Date", "Bytecode DB Up To Date (3 out of 3).");
}
@@ -416,7 +416,7 @@ void Freshklam::finish()
TDEIO::NetAccess::del(tempFileName,NULL);
CollectionDB::instance()->insertEvent("Updates","Virus Database Updated",dir_combo->url());
- KNotifyClient::event(tdemain->_tray->winId(),"UpdatedDatabase", "Virus Database updated successfully.");
+ KNotifyClient::event(tdemain->_tray->winId(),"Virus Database Updated", "Virus Database updated successfully.");
tdemain->EnableFreshklam->setEnabled(TRUE);
tdemain->DisableFreshklam->setEnabled(FALSE);