consistency
This commit is contained in:
parent
dbd4fdc61c
commit
37ff93ecee
|
@ -182,7 +182,7 @@
|
|||
- (float) swarmSpeed;
|
||||
|
||||
- (BOOL) pex;
|
||||
- (void) setPex: (BOOL) set;
|
||||
- (void) setPex: (BOOL) setting;
|
||||
|
||||
- (NSNumber *) orderValue;
|
||||
- (void) setOrderValue: (int) orderValue;
|
||||
|
|
|
@ -1097,12 +1097,12 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
return fPex;
|
||||
}
|
||||
|
||||
- (void) setPex: (BOOL) pex
|
||||
- (void) setPex: (BOOL) setting
|
||||
{
|
||||
if (![self privateTorrent])
|
||||
{
|
||||
fPex = pex;
|
||||
tr_torrentDisablePex(fHandle, !pex);
|
||||
fPex = setting;
|
||||
tr_torrentDisablePex(fHandle, !setting);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue