[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdenetwork/kget/core
From:       Matthias Fuchs <mat69 () gmx ! net>
Date:       2011-10-09 16:24:40
Message-ID: 20111009162440.BB7FEAC887 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1258049 by mfuchs:

Avoids displaying after finished action notices multiple times.

Now after finished actions are only performed if the status of a
download changed. Thus it is avoided that whenever a
FinishedKeepAlive torrent emits a change in e.g. upload speed
that a new notice will be displayed.

 M  +3 -1      kget.cpp  


--- trunk/KDE/kdenetwork/kget/core/kget.cpp #1258048:1258049
@@ -1434,7 +1434,9 @@
     if (checkSysTray)
         KGet::checkSystemTray();
 
-    if (Settings::afterFinishActionEnabled() && allFinished)
+    //only perform after finished actions if actually the status changed (that is the
+    //case if checkSysTray is set to true)
+    if (checkSysTray && Settings::afterFinishActionEnabled() && allFinished)
     {
         kDebug(5001) << "All finished";
         KNotification *notification = 0;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic