1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

actually use the new timer when checking for auto-import

This commit is contained in:
Mitchell Livingston 2007-05-06 22:14:06 +00:00
parent 7ac67d4527
commit 1c6cec7731
2 changed files with 2 additions and 1 deletions

View file

@ -181,6 +181,7 @@
- (void) torrentStoppedForRatio: (NSNotification *) notification;
- (void) changeAutoImport;
- (void) newCheckAutoImportDirectory;
- (void) checkAutoImportDirectory: (NSTimer *) timer;
- (void) sleepCallBack: (natural_t) messageType argument: (void *) messageArgument;

View file

@ -1833,7 +1833,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
-(void) watcher: (id<UKFileWatcher>) watcher receivedNotification: (NSString *) notification forPath: (NSString *) path
{
if ([notification isEqualToString: UKFileWatcherWriteNotification])
[self checkAutoImportDirectory: nil];
[self newCheckAutoImportDirectory];
}
- (void) changeAutoImport