Ignore:
Timestamp:
Jun 25, 2010, 10:19:28 PM (12 years ago)
Author:
livings124
Message:

#3320 When a download completes at the same time seeding completes, still show a Growl notification and play a sound

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r10559 r10861  
    18891889    Torrent * torrent = [notification object];
    18901890   
    1891     if ([torrent isActive])
     1891    if ([[[notification userInfo] objectForKey: @"WasRunning"] boolValue])
    18921892    {
    18931893        if (!fSoundPlaying && [fDefaults boolForKey: @"PlayDownloadSound"])
     
    19191919            object: [torrent dataLocation]];
    19201920       
    1921         if ([fDefaults boolForKey: @"QueueSeed"] && [self numToStartFromQueue: NO] == 0)
     1921        if ([torrent isActive] && [fDefaults boolForKey: @"QueueSeed"] && [self numToStartFromQueue: NO] == 0)
    19221922        {
    19231923            [torrent stopTransfer];
     
    19321932{
    19331933    Torrent * torrent = [notification object];
    1934     if ([torrent isActive])
    1935     {
    1936         if ([fDefaults boolForKey: @"Queue"] && [self numToStartFromQueue: YES] == 0)
    1937         {
    1938             [torrent stopTransfer];
    1939             [torrent setWaitToStart: YES];
    1940         }
     1934    if ([torrent isActive] && [fDefaults boolForKey: @"Queue"] && [self numToStartFromQueue: YES] == 0)
     1935    {
     1936        [torrent stopTransfer];
     1937        [torrent setWaitToStart: YES];
    19411938    }
    19421939   
Note: See TracChangeset for help on using the changeset viewer.