mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Force rates to 0 when paused, and download rate to 0 when seeding.
Increased OS X UI update interval to 1 second.
This commit is contained in:
@@ -144,7 +144,7 @@ static void sleepCallBack( void * controller, io_service_t y,
|
||||
fSeeding = 0;
|
||||
fCompleted = 0;
|
||||
fStat = nil;
|
||||
fTimer = [NSTimer scheduledTimerWithTimeInterval: 0.5 target: self
|
||||
fTimer = [NSTimer scheduledTimerWithTimeInterval: 1.0 target: self
|
||||
selector: @selector( updateUI: ) userInfo: NULL repeats: YES];
|
||||
[[NSRunLoop currentRunLoop] addTimer: fTimer
|
||||
forMode: NSModalPanelRunLoopMode];
|
||||
|
||||
Reference in New Issue
Block a user