mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
patch to PortChecker to make it more reusable
This commit is contained in:
parent
ee59c4b02b
commit
dfbb245d05
3 changed files with 3 additions and 4 deletions
3
macosx/English.lproj/MainMenu.nib/info.nib
generated
3
macosx/English.lproj/MainMenu.nib/info.nib
generated
|
@ -31,9 +31,10 @@
|
|||
<integer>3</integer>
|
||||
<key>IBOpenObjects</key>
|
||||
<array>
|
||||
<integer>29</integer>
|
||||
<integer>1848</integer>
|
||||
<integer>29</integer>
|
||||
<integer>21</integer>
|
||||
<integer>589</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>8L127</string>
|
||||
|
|
BIN
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/MainMenu.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -23,8 +23,6 @@
|
|||
*****************************************************************************/
|
||||
|
||||
#import "PortChecker.h"
|
||||
#import "transmission.h"
|
||||
#import "PrefsController.h"
|
||||
|
||||
@implementation PortChecker
|
||||
|
||||
|
@ -64,7 +62,7 @@
|
|||
fStatus = status;
|
||||
|
||||
if (fDelegate && [fDelegate respondsToSelector: @selector(portCheckerDidFinishProbing:)])
|
||||
[fDelegate portCheckerDidFinishProbing: self];
|
||||
[fDelegate performSelectorOnMainThread: @selector(portCheckerDidFinishProbing:) withObject: self waitUntilDone: NO];
|
||||
}
|
||||
|
||||
#pragma mark NSURLConnection delegate methods
|
||||
|
|
Loading…
Reference in a new issue