Transition to ARC

This commit is contained in:
Dmitry Serov
2017-07-29 23:14:22 +07:00
parent 6c30359beb
commit 845dfe6017
63 changed files with 335 additions and 767 deletions

View File

@@ -104,7 +104,6 @@ BlocklistDownloaderViewController * fBLViewController = nil;
[fStatusWindow orderOut: self];
fBLViewController = nil;
[self release];
}
- (void) setFailed: (NSString *) error
@@ -112,7 +111,7 @@ BlocklistDownloaderViewController * fBLViewController = nil;
[NSApp endSheet: fStatusWindow];
[fStatusWindow orderOut: self];
NSAlert * alert = [[[NSAlert alloc] init] autorelease];
NSAlert * alert = [[NSAlert alloc] init];
[alert addButtonWithTitle: NSLocalizedString(@"OK", "Blocklist -> button")];
[alert setMessageText: NSLocalizedString(@"Download of the blocklist failed.", "Blocklist -> message")];
[alert setAlertStyle: NSWarningAlertStyle];
@@ -153,7 +152,6 @@ BlocklistDownloaderViewController * fBLViewController = nil;
[[alert window] orderOut: self];
fBLViewController = nil;
[self release];
}
@end