diff options
author | ritsuka <[email protected]> | 2009-03-02 10:17:00 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2009-03-02 10:17:00 +0000 |
commit | 5a3b2852dd432577b6efb7ffb917b44e6850c525 (patch) | |
tree | a9fce75792ed654dfdff2436041fff98d73a3df3 /macosx | |
parent | cd0e056dded87c5ec02a06cf704f001c414aab4a (diff) |
MacGui: Removed some unused call to fProgressIndicator that may break the progresso bar.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2198 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 990f6b89e..91bb3b35d 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -674,9 +674,6 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It [fQueueController setQueueStatusString: [NSString stringWithFormat: NSLocalizedString( @"Queue Scanning title %d of %d...", @"" ), p.title_cur, p.title_count]]; - - [fRipIndicator setHidden: NO]; - [fRipIndicator setDoubleValue: 100.0 * ( p.title_cur - 1 ) / p.title_count]; break; } #undef p @@ -684,9 +681,6 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It #define p s.param.scandone case HB_STATE_SCANDONE: { - [fRipIndicator setIndeterminate: NO]; - [fRipIndicator setDoubleValue: 0.0]; - [self writeToActivityLog:"ScanDone state received from fQueueEncodeLibhb"]; [self processNewQueueEncode]; [[fWindow toolbar] validateVisibleItems]; @@ -715,8 +709,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It /* Update slider */ double progress_total = ( p.progress + p.job_cur - 1 ) / p.job_count; [fRipIndicator setIndeterminate: NO]; - [fRipIndicator setDoubleValue: (double) 100.0 * progress_total]; - //[fRipIndicator setDoubleValue: 100.0 * p.progress]; + [fRipIndicator setDoubleValue:100.0 * progress_total]; // If progress bar hasn't been revealed at the bottom of the window, do // that now. This code used to be in doRip. I moved it to here to handle |