mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
remove a couple more deprecated methods and an unneed stringWithFormat:
This commit is contained in:
@@ -972,8 +972,8 @@ tr_session * fHandle;
|
||||
[fRPCWhitelistArray addObject: @""];
|
||||
[fRPCWhitelistTable reloadData];
|
||||
|
||||
int row = [fRPCWhitelistArray count] - 1;
|
||||
[fRPCWhitelistTable selectRow: row byExtendingSelection: NO];
|
||||
const int row = [fRPCWhitelistArray count] - 1;
|
||||
[fRPCWhitelistTable selectRowIndexes: [NSIndexSet indexSetWithIndex: row] byExtendingSelection: NO];
|
||||
[fRPCWhitelistTable editColumn: 0 row: row withEvent: nil select: YES];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user