Changeset 12693


Ignore:
Timestamp:
Aug 17, 2011, 1:49:55 AM (10 years ago)
Author:
livings124
Message:

remove unnecessary queue update notifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r12644 r12693  
    773773    tr_sessionSetQueueEnabled(fHandle, TR_UP, [fDefaults boolForKey: @"QueueSeed"]);
    774774   
    775     #warning any of these "UpdateQueue" needed?
     775    //handle if any transfers switch from queued to paused
    776776    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    777777}
     
    785785   
    786786    tr_sessionSetQueueSize(fHandle, seed ? TR_UP : TR_DOWN, number);
    787    
    788     [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    789787}
    790788
     
    794792   
    795793    //reload main table for stalled status
    796     #warning redundant?
    797794    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: nil];
    798    
    799     [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    800795}
    801796
     
    806801    tr_sessionSetQueueStalledMinutes(fHandle, min);
    807802   
    808     [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
     803    //reload main table for stalled status
     804    [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateUI" object: self];
    809805}
    810806
Note: See TracChangeset for help on using the changeset viewer.