1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-24 23:12:35 +00:00

silence a warning

This commit is contained in:
Mitchell Livingston 2011-02-20 15:05:01 +00:00
parent c1ac1d629f
commit 9d805527e3
3 changed files with 2 additions and 7 deletions

View file

@ -499,11 +499,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
[fWindow makeKeyAndOrderFront: nil];
#warning still needed?
//can't be done earlier
/*if (![fFilterBar isHidden])
[self resizeFilterBar];*/
if ([fDefaults boolForKey: @"InfoVisible"])
[self showInfo: nil];
}

View file

@ -82,7 +82,7 @@
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="836599047">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">272760832</int>
<int key="NSCellFlags2">4325376</int>
<string key="NSContents">999.9 KB/s</string>
<reference key="NSSupport" ref="26"/>
<reference key="NSControlView" ref="1048428465"/>

View file

@ -240,7 +240,7 @@ typedef enum
statusFrame.size.width -= 25.0;
const CGFloat difference = NSMaxX(statusFrame) + 5.0 - NSMinX([fTotalDLImageView frame]);
if (difference > 0)
if (difference > 0.0)
statusFrame.size.width -= difference;
[fStatusButton setFrame: statusFrame];