summaryrefslogtreecommitdiffstats
path: root/src/klamav.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/klamav.cpp')
-rw-r--r--src/klamav.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/klamav.cpp b/src/klamav.cpp
index 40db2cf..b811e51 100644
--- a/src/klamav.cpp
+++ b/src/klamav.cpp
@@ -168,10 +168,10 @@ void Klamav::shuttingDown(){
}
bool Klamav::queryClose() {
- if ( freshklam->isFreshklamAlive() ){
+ if ( freshklam->isFreshklamAlive() || klamscan->scanGoingOn() ){
KMessageBox::information (this,i18n("<p>KlamAV will stay open in the system tray. <br><br>"
- " <b>Remember</b> - you can't close KlamAV while <br> "
- " auto-updating is still running!</p>"),"KlamAV","dontshow");
+ " <b>Remember</b> - you can't quit KlamAV while <br> "
+ " scanning or auto-updating!</p>"),"KlamAV","dontshow");
hide();
return false;