mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
yet another depracated method reaped
This commit is contained in:
parent
51711d018f
commit
bafff356a6
3 changed files with 1 additions and 5 deletions
|
@ -49,8 +49,7 @@
|
|||
else
|
||||
icon = [[NSWorkspace sharedWorkspace] iconForFile: [value stringByExpandingTildeInPath]];
|
||||
|
||||
[icon setScalesWhenResized: YES];
|
||||
[icon setSize: NSMakeSize(16.0f, 16.0f)];
|
||||
[icon setSize: NSMakeSize(16.0, 16.0)];
|
||||
|
||||
return icon;
|
||||
}
|
||||
|
|
|
@ -319,7 +319,6 @@ GroupsController * fGroupsInstance = nil;
|
|||
if (small)
|
||||
{
|
||||
icon = [icon copy];
|
||||
[icon setScalesWhenResized: YES];
|
||||
[icon setSize: NSMakeSize(ICON_WIDTH_SMALL, ICON_WIDTH_SMALL)];
|
||||
|
||||
[item setImage: icon];
|
||||
|
@ -342,7 +341,6 @@ GroupsController * fGroupsInstance = nil;
|
|||
if (small)
|
||||
{
|
||||
icon = [icon copy];
|
||||
[icon setScalesWhenResized: YES];
|
||||
[icon setSize: NSMakeSize(ICON_WIDTH_SMALL, ICON_WIDTH_SMALL)];
|
||||
|
||||
[item setImage: icon];
|
||||
|
|
|
@ -932,7 +932,6 @@
|
|||
|
||||
[item setRepresentedObject: node];
|
||||
|
||||
[icon setScalesWhenResized: YES];
|
||||
[icon setSize: NSMakeSize(16.0, 16.0)];
|
||||
[item setImage: icon];
|
||||
|
||||
|
|
Loading…
Reference in a new issue