mirror of
https://github.com/transmission/transmission.git
synced 2026-05-03 07:02:20 +01:00
Transition to ARC
This commit is contained in:
@@ -41,8 +41,8 @@ AboutWindowController * fAboutBoxInstance = nil;
|
||||
[fCopyrightField setStringValue: [[NSBundle mainBundle] localizedStringForKey: @"NSHumanReadableCopyright"
|
||||
value: nil table: @"InfoPlist"]];
|
||||
|
||||
[[fTextView textStorage] setAttributedString: [[[NSAttributedString alloc] initWithPath:
|
||||
[[NSBundle mainBundle] pathForResource: @"Credits" ofType: @"rtf"] documentAttributes: nil] autorelease]];
|
||||
[[fTextView textStorage] setAttributedString: [[NSAttributedString alloc] initWithPath:
|
||||
[[NSBundle mainBundle] pathForResource: @"Credits" ofType: @"rtf"] documentAttributes: nil]];
|
||||
|
||||
//size license button
|
||||
const CGFloat oldButtonWidth = NSWidth([fLicenseButton frame]);
|
||||
@@ -63,7 +63,6 @@ AboutWindowController * fAboutBoxInstance = nil;
|
||||
|
||||
- (void) windowWillClose: (id) sender
|
||||
{
|
||||
[fAboutBoxInstance autorelease];
|
||||
fAboutBoxInstance = nil;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user