Changeset 9348 for trunk/macosx/Torrent.m
- Timestamp:
- Oct 21, 2009, 10:20:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Torrent.m
r9343 r9348 47 47 - (NSString *) etaString; 48 48 49 - (void) updateTimeMachineExclude;50 49 - (void) setTimeMachineExclude: (BOOL) exclude forPath: (NSString *) path; 51 50 … … 1456 1455 { 1457 1456 return fStalled; 1457 } 1458 1459 - (void) updateTimeMachineExclude 1460 { 1461 NSString * newLocation = [self dataLocation]; 1462 1463 if (fTimeMachineExclude && newLocation && [fTimeMachineExclude isEqualToString: newLocation] && ![self allDownloaded]) 1464 return; 1465 1466 if (fTimeMachineExclude) 1467 { 1468 [self setTimeMachineExclude: NO forPath: fTimeMachineExclude]; 1469 [fTimeMachineExclude release]; 1470 fTimeMachineExclude = nil; 1471 } 1472 1473 if (newLocation && ![self allDownloaded]) 1474 { 1475 [self setTimeMachineExclude: YES forPath: newLocation]; 1476 [fTimeMachineExclude release]; 1477 fTimeMachineExclude = [newLocation retain]; 1478 } 1458 1479 } 1459 1480 … … 1735 1756 } 1736 1757 1737 - (void) updateTimeMachineExclude1738 {1739 NSString * newLocation = [self dataLocation];1740 1741 if (fTimeMachineExclude && newLocation && [fTimeMachineExclude isEqualToString: newLocation] && ![self allDownloaded])1742 return;1743 1744 if (fTimeMachineExclude)1745 {1746 [self setTimeMachineExclude: NO forPath: fTimeMachineExclude];1747 [fTimeMachineExclude release];1748 fTimeMachineExclude = nil;1749 }1750 1751 if (newLocation && ![self allDownloaded])1752 {1753 [self setTimeMachineExclude: YES forPath: newLocation];1754 [fTimeMachineExclude release];1755 fTimeMachineExclude = [newLocation retain];1756 }1757 }1758 1759 1758 - (void) setTimeMachineExclude: (BOOL) exclude forPath: (NSString *) path 1760 1759 {
Note: See TracChangeset
for help on using the changeset viewer.