mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +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>
|
<integer>3</integer>
|
||||||
<key>IBOpenObjects</key>
|
<key>IBOpenObjects</key>
|
||||||
<array>
|
<array>
|
||||||
<integer>29</integer>
|
|
||||||
<integer>1848</integer>
|
<integer>1848</integer>
|
||||||
|
<integer>29</integer>
|
||||||
<integer>21</integer>
|
<integer>21</integer>
|
||||||
|
<integer>589</integer>
|
||||||
</array>
|
</array>
|
||||||
<key>IBSystem Version</key>
|
<key>IBSystem Version</key>
|
||||||
<string>8L127</string>
|
<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 "PortChecker.h"
|
||||||
#import "transmission.h"
|
|
||||||
#import "PrefsController.h"
|
|
||||||
|
|
||||||
@implementation PortChecker
|
@implementation PortChecker
|
||||||
|
|
||||||
|
@ -64,7 +62,7 @@
|
||||||
fStatus = status;
|
fStatus = status;
|
||||||
|
|
||||||
if (fDelegate && [fDelegate respondsToSelector: @selector(portCheckerDidFinishProbing:)])
|
if (fDelegate && [fDelegate respondsToSelector: @selector(portCheckerDidFinishProbing:)])
|
||||||
[fDelegate portCheckerDidFinishProbing: self];
|
[fDelegate performSelectorOnMainThread: @selector(portCheckerDidFinishProbing:) withObject: self waitUntilDone: NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark NSURLConnection delegate methods
|
#pragma mark NSURLConnection delegate methods
|
||||||
|
|
Loading…
Reference in a new issue