mirror of
https://github.com/transmission/transmission
synced 2025-02-07 15:04:13 +00:00
remove some redundant warnings
This commit is contained in:
parent
bc619e3df3
commit
21c2aba63b
1 changed files with 0 additions and 3 deletions
|
@ -535,7 +535,6 @@
|
||||||
- (void) setQuickLimit: (int) limit type: (NSString *) type
|
- (void) setQuickLimit: (int) limit type: (NSString *) type
|
||||||
{
|
{
|
||||||
//if interface is loaded, perform change as if user performed it
|
//if interface is loaded, perform change as if user performed it
|
||||||
#warning better way?
|
|
||||||
if (fToolbar)
|
if (fToolbar)
|
||||||
{
|
{
|
||||||
NSButton * check;
|
NSButton * check;
|
||||||
|
@ -673,7 +672,6 @@
|
||||||
- (void) setQuickRatioEnabled: (BOOL) enable
|
- (void) setQuickRatioEnabled: (BOOL) enable
|
||||||
{
|
{
|
||||||
//if interface is loaded, perform change as if user performed it
|
//if interface is loaded, perform change as if user performed it
|
||||||
#warning better way?
|
|
||||||
if (fToolbar)
|
if (fToolbar)
|
||||||
{
|
{
|
||||||
int state = enable ? NSOnState : NSOffState;
|
int state = enable ? NSOnState : NSOffState;
|
||||||
|
@ -692,7 +690,6 @@
|
||||||
- (void) setQuickRatio: (float) ratioLimit
|
- (void) setQuickRatio: (float) ratioLimit
|
||||||
{
|
{
|
||||||
//if interface is loaded, perform change as if user performed it
|
//if interface is loaded, perform change as if user performed it
|
||||||
#warning better way?
|
|
||||||
if (fToolbar)
|
if (fToolbar)
|
||||||
{
|
{
|
||||||
[fRatioField setFloatValue: ratioLimit];
|
[fRatioField setFloatValue: ratioLimit];
|
||||||
|
|
Loading…
Reference in a new issue