remove a couple more deprecated methods and an unneed stringWithFormat:

This commit is contained in:
Mitchell Livingston
2009-08-29 00:09:18 +00:00
parent ace6821574
commit 4cf26bd5db
3 changed files with 8 additions and 7 deletions

View File

@@ -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];
}
}