From: Grant Paul Date: Thu, 27 Jan 2011 03:13:30 +0000 (-0800) Subject: Fix a runtime syslog warning from UIKit by using the -tableView:accessoryTypeForRowWi... X-Git-Tag: v1.1.0%b1~367^2~16 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/b89fa270de1a17bf2505ed8bca773c52537a8061 Fix a runtime syslog warning from UIKit by using the -tableView:accessoryTypeForRowWithIndexPath: in SourceController. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index e3c9d9c2..2079a6ab 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];