Changeset 12505


Ignore:
Timestamp:
Jun 19, 2011, 3:59:04 AM (10 years ago)
Author:
livings124
Message:

in the dock badger, check for membership first when removing a torrent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r12504 r12505  
    7575- (void) removeTorrent: (Torrent *) torrent
    7676{
    77     if ([fHashes count] > 0)
     77    if ([fHashes member: [torrent hashString]])
    7878    {
    7979        [fHashes removeObject: [torrent hashString]];
Note: See TracChangeset for help on using the changeset viewer.