diff --git a/macosx/Controller.h b/macosx/Controller.h index 8bc562212..287582b0a 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -181,6 +181,7 @@ - (void) torrentStoppedForRatio: (NSNotification *) notification; - (void) changeAutoImport; +- (void) newCheckAutoImportDirectory; - (void) checkAutoImportDirectory: (NSTimer *) timer; - (void) sleepCallBack: (natural_t) messageType argument: (void *) messageArgument; diff --git a/macosx/Controller.m b/macosx/Controller.m index 5a5284ab1..733ff241b 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -1833,7 +1833,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy -(void) watcher: (id) watcher receivedNotification: (NSString *) notification forPath: (NSString *) path { if ([notification isEqualToString: UKFileWatcherWriteNotification]) - [self checkAutoImportDirectory: nil]; + [self newCheckAutoImportDirectory]; } - (void) changeAutoImport