mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
no more double release
This commit is contained in:
@@ -359,8 +359,6 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||
usleep(100000);
|
||||
[torrent update];
|
||||
}
|
||||
|
||||
[fTorrents release];
|
||||
}
|
||||
|
||||
- (void) folderChoiceClosed: (NSOpenPanel *) openPanel returnCode: (int) code
|
||||
|
||||
@@ -222,28 +222,28 @@
|
||||
[item setLabel: TOOLBAR_GENERAL];
|
||||
[item setImage: [NSImage imageNamed: @"Preferences.png"]];
|
||||
[item setTarget: self];
|
||||
[item setAction: @selector( showGeneralPref: )];
|
||||
[item setAction: @selector(showGeneralPref:)];
|
||||
}
|
||||
else if ([ident isEqualToString: TOOLBAR_TRANSFERS])
|
||||
{
|
||||
[item setLabel: TOOLBAR_TRANSFERS];
|
||||
[item setImage: [NSImage imageNamed: @"Transfers.png"]];
|
||||
[item setTarget: self];
|
||||
[item setAction: @selector( showTransfersPref: )];
|
||||
[item setAction: @selector(showTransfersPref:)];
|
||||
}
|
||||
else if ([ident isEqualToString: TOOLBAR_BANDWIDTH])
|
||||
{
|
||||
[item setLabel: TOOLBAR_BANDWIDTH];
|
||||
[item setImage: [NSImage imageNamed: @"Bandwidth.png"]];
|
||||
[item setTarget: self];
|
||||
[item setAction: @selector( showBandwidthPref: )];
|
||||
[item setAction: @selector(showBandwidthPref:)];
|
||||
}
|
||||
else if ([ident isEqualToString: TOOLBAR_NETWORK])
|
||||
{
|
||||
[item setLabel: TOOLBAR_NETWORK];
|
||||
[item setImage: [NSImage imageNamed: @"Network.png"]];
|
||||
[item setTarget: self];
|
||||
[item setAction: @selector( showNetworkPref: )];
|
||||
[item setAction: @selector(showNetworkPref:)];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user