Changeset 12614


Ignore:
Timestamp:
Aug 3, 2011, 2:08:37 AM (10 years ago)
Author:
livings124
Message:

some cleanup of the Mac integration of libT queue code (we're getting there, but we're not there yet)

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12612 r12614  
    12221222        [torrent startTransferNoQueue];
    12231223   
    1224     #warning change to updateTorrentsInQueue?
    1225     [self updateUI];
    1226     [self applyFilter];
    1227     [[fWindow toolbar] validateVisibleItems];
    1228     [self updateTorrentHistory];
     1224    [self updateTorrentsInQueue];
    12291225}
    12301226
     
    12481244    [torrents makeObjectsPerformSelector: @selector(stopTransfer)];
    12491245   
    1250     [self updateUI];
    1251     [self applyFilter];
    1252     [[fWindow toolbar] validateVisibleItems];
    1253     [self updateTorrentHistory];
     1246    [self updateTorrentsInQueue];
    12541247}
    12551248
  • trunk/macosx/Torrent.m

    r12612 r12614  
    329329        tr_torrentStop(fHandle);
    330330        [self update];
    331        
    332         #warning still needed?
    333         [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    334331    }
    335332}
     
    615612- (NSString *) name
    616613{
    617 #warning remove
    618     //return [NSString stringWithFormat: @"%d  %@", fStat->queuePosition, [NSString stringWithUTF8String: fInfo->name]];
    619     return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
     614    return [NSString stringWithFormat: @"%d  %@", fStat->queuePosition, [NSString stringWithUTF8String: fInfo->name]];
     615    //return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
    620616}
    621617
Note: See TracChangeset for help on using the changeset viewer.