mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
add some missed type changes
This commit is contained in:
parent
2e994c3ca3
commit
6d9089e514
2 changed files with 4 additions and 4 deletions
|
@ -82,7 +82,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
|
|||
- (id) tableView: (NSTableView *) tableView objectValueForTableColumn: (NSTableColumn *) tableColumn row: (NSInteger) row
|
||||
{
|
||||
GroupsController * groupsController = [GroupsController groups];
|
||||
int groupsIndex = [groupsController indexForRow: row];
|
||||
NSInteger groupsIndex = [groupsController indexForRow: row];
|
||||
|
||||
NSString * identifier = [tableColumn identifier];
|
||||
if ([identifier isEqualToString: @"Color"])
|
||||
|
@ -126,7 +126,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
|
|||
}
|
||||
|
||||
- (NSDragOperation) tableView: (NSTableView *) tableView validateDrop: (id <NSDraggingInfo>) info
|
||||
proposedRow: (int) row proposedDropOperation: (NSTableViewDropOperation) operation
|
||||
proposedRow: (NSInteger) row proposedDropOperation: (NSTableViewDropOperation) operation
|
||||
{
|
||||
NSPasteboard * pasteboard = [info draggingPasteboard];
|
||||
if ([[pasteboard types] containsObject: GROUP_TABLE_VIEW_DATA_TYPE])
|
||||
|
@ -138,7 +138,7 @@ GroupsWindowController * fGroupsWindowInstance = nil;
|
|||
return NSDragOperationNone;
|
||||
}
|
||||
|
||||
- (BOOL) tableView: (NSTableView *) tableView acceptDrop: (id <NSDraggingInfo>) info row: (int) newRow
|
||||
- (BOOL) tableView: (NSTableView *) tableView acceptDrop: (id <NSDraggingInfo>) info row: (NSInteger) newRow
|
||||
dropOperation: (NSTableViewDropOperation) operation
|
||||
{
|
||||
NSPasteboard * pasteboard = [info draggingPasteboard];
|
||||
|
|
|
@ -523,7 +523,7 @@
|
|||
//option-command-f will focus the filter bar's search field
|
||||
- (void) keyDown: (NSEvent *) event
|
||||
{
|
||||
unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
|
||||
const unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
|
||||
|
||||
if (firstChar == 'f' && [event modifierFlags] & NSAlternateKeyMask && [event modifierFlags] & NSCommandKeyMask)
|
||||
[fController focusFilterField];
|
||||
|
|
Loading…
Reference in a new issue