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:
parent
7ac67d4527
commit
1c6cec7731
2 changed files with 2 additions and 1 deletions
|
@ -181,6 +181,7 @@
|
|||
- (void) torrentStoppedForRatio: (NSNotification *) notification;
|
||||
|
||||
- (void) changeAutoImport;
|
||||
- (void) newCheckAutoImportDirectory;
|
||||
- (void) checkAutoImportDirectory: (NSTimer *) timer;
|
||||
|
||||
- (void) sleepCallBack: (natural_t) messageType argument: (void *) messageArgument;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue