diff options
author | Grant Paul <chpwn@chpwn.com> | 2011-01-26 19:13:30 -0800 |
---|---|---|
committer | Grant Paul <chpwn@chpwn.com> | 2011-01-26 19:13:30 -0800 |
commit | b89fa270de1a17bf2505ed8bca773c52537a8061 (patch) | |
tree | f58fa3a324f40c98931902166d478b5843f19aee /MobileCydia.mm | |
parent | ea3bb538405a55030753b8345bdf230896ffaed9 (diff) |
Fix a runtime syslog warning from UIKit by using the -tableView:accessoryTypeForRowWithIndexPath: in SourceController.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index e3c9d9c..2079a6a 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7604,14 +7604,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { SourceCell *cell = (SourceCell *) [tableView dequeueReusableCellWithIdentifier:cellIdentifier]; if(cell == nil) cell = [[[SourceCell alloc] initWithFrame:CGRectZero reuseIdentifier:cellIdentifier] autorelease]; [cell setSource:[self sourceAtIndexPath:indexPath]]; + [cell setAccessoryType:UITableViewCellAccessoryDisclosureIndicator]; return cell; } -- (UITableViewCellAccessoryType) tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath { - return UITableViewCellAccessoryDisclosureIndicator; -} - - (void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { Source *source = [self sourceAtIndexPath:indexPath]; |