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

List:       kde-commits
Subject:    branches/stable/extragear-kde4/network/ktorrent
From:       Joris Guisson <joris.guisson () gmail ! com>
Date:       2009-01-11 13:00:31
Message-ID: 1231678831.876083.18200.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 909349 by guisson:

Backport bugfix 180230 from trunk

 M  +1 -0      ChangeLog  
 M  +3 -0      libktcore/torrent/queuemanager.cpp  
 M  +2 -2      plugins/bwscheduler/schedule.cpp  


--- branches/stable/extragear-kde4/network/ktorrent/ChangeLog #909348:909349
@@ -15,6 +15,7 @@
 - Backport fix for several memory leaks
 - Backport idle priority for datachecker thread
 - Backport byteorder bugfix
+- Backport bugfix for 180230 
 
 Changes in 3.1.5 :
 - Make sure symlinks work when we create multifile torrents
--- branches/stable/extragear-kde4/network/ktorrent/libktcore/torrent/queuemanager.cpp #909348:909349
@@ -640,6 +640,9 @@
 	
 	void QueueManager::setPausedState(bool pause)
 	{
+		if (paused_state == pause)
+			return;
+		
 		paused_state = pause;	
 		if(!pause)
 		{
--- branches/stable/extragear-kde4/network/ktorrent/plugins/bwscheduler/schedule.cpp #909348:909349
@@ -263,9 +263,9 @@
 		for (iterator itr = begin();itr != end();itr++)
 		{
 			ScheduleItem* i = *itr;
-			if (i->day == now.date().dayOfWeek())
+			if (i->day == now.date().dayOfWeek() && i->start > now.time())
 			{
-				if (!item || (i->start < item->start && i->start > now.time()))
+				if (!item || i->start < item->start)
 					item = i;
 			}
 		}
[prev in list] [next in list] [prev in thread] [next in thread] 

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