Changeset 9123


Ignore:
Timestamp:
Sep 16, 2009, 1:16:12 AM (13 years ago)
Author:
livings124
Message:

#2414 Upside-down dock icons in Inspector under Leopard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9054 r9123  
    402402        [fFileController setTorrent: torrent];
    403403       
    404         [fImageView setImage: [torrent icon]];
     404        if ([NSApp isOnSnowLeopardOrBetter])
     405            [fImageView setImage: [torrent icon]];
     406        else
     407        {
     408            NSImage * icon = [[torrent icon] copy];
     409            [icon setFlipped: NO];
     410            [fImageView setImage: icon];
     411            [icon release];
     412        }
     413
    405414       
    406415        NSString * name = [torrent name];
Note: See TracChangeset for help on using the changeset viewer.