mirror of
https://github.com/transmission/transmission
synced 2025-02-25 07:22:38 +00:00
silence a warning
This commit is contained in:
parent
c1ac1d629f
commit
9d805527e3
3 changed files with 2 additions and 7 deletions
|
@ -499,11 +499,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
|
|
||||||
[fWindow makeKeyAndOrderFront: nil];
|
[fWindow makeKeyAndOrderFront: nil];
|
||||||
|
|
||||||
#warning still needed?
|
|
||||||
//can't be done earlier
|
|
||||||
/*if (![fFilterBar isHidden])
|
|
||||||
[self resizeFilterBar];*/
|
|
||||||
|
|
||||||
if ([fDefaults boolForKey: @"InfoVisible"])
|
if ([fDefaults boolForKey: @"InfoVisible"])
|
||||||
[self showInfo: nil];
|
[self showInfo: nil];
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<bool key="NSEnabled">YES</bool>
|
<bool key="NSEnabled">YES</bool>
|
||||||
<object class="NSTextFieldCell" key="NSCell" id="836599047">
|
<object class="NSTextFieldCell" key="NSCell" id="836599047">
|
||||||
<int key="NSCellFlags">67239424</int>
|
<int key="NSCellFlags">67239424</int>
|
||||||
<int key="NSCellFlags2">272760832</int>
|
<int key="NSCellFlags2">4325376</int>
|
||||||
<string key="NSContents">999.9 KB/s</string>
|
<string key="NSContents">999.9 KB/s</string>
|
||||||
<reference key="NSSupport" ref="26"/>
|
<reference key="NSSupport" ref="26"/>
|
||||||
<reference key="NSControlView" ref="1048428465"/>
|
<reference key="NSControlView" ref="1048428465"/>
|
||||||
|
|
|
@ -240,7 +240,7 @@ typedef enum
|
||||||
statusFrame.size.width -= 25.0;
|
statusFrame.size.width -= 25.0;
|
||||||
|
|
||||||
const CGFloat difference = NSMaxX(statusFrame) + 5.0 - NSMinX([fTotalDLImageView frame]);
|
const CGFloat difference = NSMaxX(statusFrame) + 5.0 - NSMinX([fTotalDLImageView frame]);
|
||||||
if (difference > 0)
|
if (difference > 0.0)
|
||||||
statusFrame.size.width -= difference;
|
statusFrame.size.width -= difference;
|
||||||
|
|
||||||
[fStatusButton setFrame: statusFrame];
|
[fStatusButton setFrame: statusFrame];
|
||||||
|
|
Loading…
Reference in a new issue