Changeset 3945
- Timestamp:
- Nov 23, 2007, 3:48:26 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r3944 r3945 1605 1605 @"progress" ascending: !asc] autorelease], 1606 1606 * ratioDescriptor = [[[NSSortDescriptor alloc] initWithKey: 1607 @"ratio SortKey" ascending: !asc] autorelease];1607 @"ratio" ascending: !asc] autorelease]; 1608 1608 1609 1609 descriptors = [[NSArray alloc] initWithObjects: stateDescriptor, progressDescriptor, ratioDescriptor, … … 1615 1615 @"progress" ascending: asc] autorelease], 1616 1616 * ratioProgressDescriptor = [[[NSSortDescriptor alloc] initWithKey: 1617 @" ratioProgressSortKey" ascending: asc] autorelease],1617 @"progressStopRatio" ascending: asc] autorelease], 1618 1618 * ratioDescriptor = [[[NSSortDescriptor alloc] initWithKey: 1619 @"ratio SortKey" ascending: asc] autorelease];1619 @"ratio" ascending: asc] autorelease]; 1620 1620 1621 1621 descriptors = [[NSArray alloc] initWithObjects: progressDescriptor, ratioProgressDescriptor, ratioDescriptor, -
trunk/macosx/Torrent.h
r3944 r3945 230 230 231 231 - (NSNumber *) stateSortKey; 232 - (NSNumber *) ratioSortKey;233 - (NSNumber *) ratioProgressSortKey;234 232 235 233 - (int) torrentID; -
trunk/macosx/Torrent.m
r3944 r3945 1362 1362 else 1363 1363 return [NSNumber numberWithInt: 2]; 1364 }1365 1366 - (NSNumber *) ratioSortKey1367 {1368 return [NSNumber numberWithFloat: [self ratio]];1369 }1370 1371 - (NSNumber *) ratioProgressSortKey1372 {1373 return [NSNumber numberWithFloat: [self progressStopRatio]];1374 1364 } 1375 1365
Note: See TracChangeset
for help on using the changeset viewer.