mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix 2 invalid return types; don't show notices when compiling the xib's
This commit is contained in:
@@ -156,7 +156,7 @@ GroupsController * fGroupsInstance = nil;
|
||||
return orderIndex != -1 ? [[fGroups objectAtIndex: orderIndex] objectForKey: @"Color"] : nil;
|
||||
}
|
||||
|
||||
- (NSColor *) setColor: (NSColor *) color forIndex: (int) index
|
||||
- (void) setColor: (NSColor *) color forIndex: (int) index
|
||||
{
|
||||
NSMutableDictionary * dict = [fGroups objectAtIndex: [self rowValueForIndex: index]];
|
||||
[dict removeObjectForKey: @"Icon"];
|
||||
|
||||
Reference in New Issue
Block a user