[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-08-12 10:28:28
Message-ID: 20110812102828.4B29CAC873 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1246651 by mfuchs:

Finished jobs should never be started.

If there is a maximum number of downloads per group then this
patch makes sure that finished downloads aren't counted as
should be running in the scheduler.

 M  +1 -1      scheduler.cpp  


--- trunk/KDE/kdenetwork/kget/core/scheduler.cpp #1246650:1246651
@@ -321,7 +321,7 @@
     else                           //JobQueue::Running
     {
         return ( (policy != Job::Stop)    &&
-                 ((status != Job::Finished) ||
+                 ((status != Job::Finished) &&
                  (status != Job::Aborted || job->error().type == Job::AutomaticRetry)));
     }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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