#2414 Upside-down dock icons in Inspector under Leopard

This commit is contained in:
Mitchell Livingston
2009-09-16 01:16:12 +00:00
parent b9517b9826
commit e882a71ddf

View File

@@ -401,7 +401,16 @@ typedef enum
[fFileController setTorrent: torrent];
[fImageView setImage: [torrent icon]];
if ([NSApp isOnSnowLeopardOrBetter])
[fImageView setImage: [torrent icon]];
else
{
NSImage * icon = [[torrent icon] copy];
[icon setFlipped: NO];
[fImageView setImage: icon];
[icon release];
}
NSString * name = [torrent name];
[fNameField setStringValue: name];