mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
consistency
This commit is contained in:
parent
dbd4fdc61c
commit
37ff93ecee
2 changed files with 4 additions and 4 deletions
|
@ -182,7 +182,7 @@
|
||||||
- (float) swarmSpeed;
|
- (float) swarmSpeed;
|
||||||
|
|
||||||
- (BOOL) pex;
|
- (BOOL) pex;
|
||||||
- (void) setPex: (BOOL) set;
|
- (void) setPex: (BOOL) setting;
|
||||||
|
|
||||||
- (NSNumber *) orderValue;
|
- (NSNumber *) orderValue;
|
||||||
- (void) setOrderValue: (int) orderValue;
|
- (void) setOrderValue: (int) orderValue;
|
||||||
|
|
|
@ -1097,12 +1097,12 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
||||||
return fPex;
|
return fPex;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setPex: (BOOL) pex
|
- (void) setPex: (BOOL) setting
|
||||||
{
|
{
|
||||||
if (![self privateTorrent])
|
if (![self privateTorrent])
|
||||||
{
|
{
|
||||||
fPex = pex;
|
fPex = setting;
|
||||||
tr_torrentDisablePex(fHandle, !pex);
|
tr_torrentDisablePex(fHandle, !setting);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue