mirror of
https://github.com/transmission/transmission
synced 2025-03-03 18:25:35 +00:00
remove redundant copy and a deprecated method
This commit is contained in:
parent
7cda4c5b1c
commit
f4926170f1
1 changed files with 1 additions and 4 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue