Turn off threaded animation on the download progress indicators, as it appears to cause a leak. Bug 143303.

This commit is contained in:
smfr%smfr.org 2005-07-24 23:03:25 +00:00
Родитель f6372a1cc1
Коммит c6ced2ce5a
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -146,7 +146,8 @@ enum {
-(id)init -(id)init
{ {
if ((self = [super init])) { if ((self = [super init]))
{
[NSBundle loadNibNamed:@"ProgressView" owner:self]; [NSBundle loadNibNamed:@"ProgressView" owner:self];
[self viewDidLoad]; [self viewDidLoad];
} }
@ -192,7 +193,7 @@ enum {
{ {
[mProgressBar retain]; // make sure it survives being moved between views [mProgressBar retain]; // make sure it survives being moved between views
// this isn't necessarily better. Need to profile. // this isn't necessarily better. Need to profile.
[mProgressBar setUsesThreadedAnimation:YES]; [mProgressBar setUsesThreadedAnimation:NO];
// give the views this controller as their controller // give the views this controller as their controller
[mCompletedView setController:self]; [mCompletedView setController:self];
[mProgressView setController:self]; [mProgressView setController:self];