Changeset 9402


Ignore:
Timestamp:
Oct 25, 2009, 4:31:28 PM (13 years ago)
Author:
livings124
Message:

one less warning

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9352 r9402  
    13781378    [fDataLocationField setStringValue: location ? [location stringByAbbreviatingWithTildeInPath] : @""];
    13791379    [fDataLocationField setToolTip: location ? location : @""];
     1380    [fDataLocationField setSelectable: location != nil];
     1381   
     1382    [fRevealDataButton setHidden: !location];
    13801383}
    13811384
  • trunk/macosx/Torrent.m

    r9401 r9402  
    512512                                                    "Torrent disk space alert -> button")];
    513513
    514             NSInteger result = [alert runModal];
     514            const NSInteger result = [alert runModal];
    515515            if ([[alert suppressionButton] state] == NSOnState)
    516516                [fDefaults setBool: NO forKey: @"WarningRemainingSpace"];
     
    670670}
    671671
    672 #warning returning nil causes the info field to not change - check all uses of data location
    673672- (NSString *) dataLocation
    674673{
Note: See TracChangeset for help on using the changeset viewer.