mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
remove redundant copy and a deprecated method
This commit is contained in:
@@ -84,10 +84,7 @@
|
||||
[[self window] setTitle: name];
|
||||
[fNameField setStringValue: name];
|
||||
|
||||
NSImage * icon = [[fTorrent icon] copy];
|
||||
[icon setFlipped: NO];
|
||||
[fIconView setImage: icon];
|
||||
[icon release];
|
||||
[fIconView setImage: [fTorrent icon]];
|
||||
|
||||
[self updateStatusField: nil];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user