diff options
author | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
commit | 2837048a59ac5beab0b3428ca89c86857765de0a (patch) | |
tree | 15417d195f7223d85fac22560479717dfda31101 /macosx/HBQueueController.m | |
parent | 93fb333304b2493a50623b04caac95b53eca3240 (diff) |
MacGui: add nullability annotations to the headers and use weak where is possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r-- | macosx/HBQueueController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 2a86bc5bc..406611df7 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -751,7 +751,7 @@ { // We pause the encode here so that it doesn't finish right after and then // screw up the sync while the window is open - [self togglePauseResume:nil]; + [self togglePauseResume:self]; NSString *alertTitle = [NSString stringWithFormat:NSLocalizedString(@"Stop This Encode and Remove It?", nil)]; @@ -790,7 +790,7 @@ // state, if it paused, it will resume encoding and vice versa. // In this case, we are paused from the calling window, so calling // [self togglePauseResume:nil]; Again will resume encoding - [self togglePauseResume:nil]; + [self togglePauseResume:self]; if (returnCode == NSAlertSecondButtonReturn) { @@ -986,7 +986,7 @@ { // We pause the encode here so that it doesn't finish right after and then // screw up the sync while the window is open - [self togglePauseResume:nil]; + [self togglePauseResume:self]; NSString *alertTitle = [NSString stringWithFormat:NSLocalizedString(@"Stop This Encode and Remove It ?", nil)]; // Which window to attach the sheet to? NSWindow *docWindow = nil; |