Changeset 3075


Ignore:
Timestamp:
Sep 15, 2007, 8:34:30 PM (14 years ago)
Author:
livings124
Message:

use nil for blank tooltips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r3074 r3075  
    179179            [fPexCheck setEnabled: NO];
    180180            [fPexCheck setState: NSOffState];
    181             [fPexCheck setToolTip: @""];
     181            [fPexCheck setToolTip: nil];
    182182        }
    183183       
     
    482482        return;
    483483
    484     Torrent * torrent;
    485    
    486484    //get bandwidth info
    487485    NSEnumerator * enumerator = [fTorrents objectEnumerator];
    488     torrent = [enumerator nextObject]; //first torrent
     486    Torrent * torrent = [enumerator nextObject]; //first torrent
    489487   
    490488    int uploadSpeedMode = [torrent speedMode: YES],
     
    602600    [fPexCheck setState: pexState];
    603601    [fPexCheck setToolTip: !pexEnabled ? NSLocalizedString(@"PEX can only be toggled on paused public torrents.",
    604                                 "Inspector -> pex check") : @""];
     602                                "Inspector -> pex check") : nil];
    605603}
    606604
Note: See TracChangeset for help on using the changeset viewer.