summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-07 11:46:47 +0100
committerDamiano Galassi <[email protected]>2017-12-07 11:46:47 +0100
commit725df609ef093a256fa589965b378a335ae3b110 (patch)
treed6cd70c4ef87ccd22e3e29cd88413f26f963b8c4 /macosx/HBController.m
parent41687a491796b1affe7f8243e66851da1ceacff8 (diff)
MacGui: remove unneeded outlets and NSAnimationContext in HBController.
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m24
1 files changed, 4 insertions, 20 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 2549587f4..d5e64c2b5 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -78,16 +78,6 @@
IBOutlet NSTextField * fSrcDVD2Field;
IBOutlet NSPopUpButton * fSrcTitlePopUp;
- // pts based start / stop
- IBOutlet NSTextField * fSrcTimeStartEncodingField;
- IBOutlet NSTextField * fSrcTimeEndEncodingField;
- // frame based based start / stop
- IBOutlet NSTextField * fSrcFrameStartEncodingField;
- IBOutlet NSTextField * fSrcFrameEndEncodingField;
-
- IBOutlet NSPopUpButton * fSrcChapterStartPopUp;
- IBOutlet NSPopUpButton * fSrcChapterEndPopUp;
-
// Bottom
IBOutlet NSTextField * fStatusField;
IBOutlet NSProgressIndicator * fRipIndicator;
@@ -1044,11 +1034,8 @@
{
if (fRipIndicatorShown)
{
- [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
- self.bottomConstrain.animator.constant = -WINDOW_HEIGHT_OFFSET;
- } completionHandler:^{
- fRipIndicatorShown = NO;
- }];
+ self.bottomConstrain.animator.constant = -WINDOW_HEIGHT_OFFSET;
+ fRipIndicatorShown = NO;
// Refresh the toolbar buttons
[self.window.toolbar validateVisibleItems];
@@ -1060,11 +1047,8 @@
// that now.
if (!fRipIndicatorShown)
{
- [NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
- self.bottomConstrain.animator.constant = 0;
- } completionHandler:^{
- fRipIndicatorShown = YES;
- }];
+ self.bottomConstrain.animator.constant = 0;
+ fRipIndicatorShown = YES;
// Refresh the toolbar buttons
[self.window.toolbar validateVisibleItems];