From b89fa270de1a17bf2505ed8bca773c52537a8061 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Wed, 26 Jan 2011 19:13:30 -0800 Subject: Fix a runtime syslog warning from UIKit by using the -tableView:accessoryTypeForRowWithIndexPath: in SourceController. --- MobileCydia.mm | 5 +---- 1 file changed, 1 insertion(+), 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]; -- cgit v1.2.3