summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-06-08 16:59:25 +0200
committerDamiano Galassi <[email protected]>2018-06-08 16:59:25 +0200
commitc762b2c0ec5b6fb58d1fd453e2b5aed526c6d693 (patch)
treee0ab43c5ddd28ed876158b689be0c93c2380d970 /macosx/HBPreviewController.m
parentde7355d5ad5257c4cce5e0a99fffb3ee58264ba0 (diff)
MacGui: set the minimum deployment target to 10.10. Remove Growl and use macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
Diffstat (limited to 'macosx/HBPreviewController.m')
-rw-r--r--macosx/HBPreviewController.m5
1 files changed, 0 insertions, 5 deletions
diff --git a/macosx/HBPreviewController.m b/macosx/HBPreviewController.m
index d85cdc4d9..fb0105f23 100644
--- a/macosx/HBPreviewController.m
+++ b/macosx/HBPreviewController.m
@@ -12,7 +12,6 @@
#import "HBPreviewView.h"
#import "HBPlayer.h"
-#import "HBQTKitPlayer.h"
#import "HBAVPlayer.h"
#import "HBPictureHUDController.h"
@@ -548,11 +547,7 @@
- (void)setUpPlaybackOfURL:(NSURL *)fileURL playerClass:(Class)class;
{
-#if __HB_QTKIT_PLAYER_AVAILABLE
- NSArray<Class> *availablePlayerClasses = @[[HBAVPlayer class], [HBQTKitPlayer class]];
-#else
NSArray<Class> *availablePlayerClasses = @[[HBAVPlayer class]];
-#endif
self.player = [[class alloc] initWithURL:fileURL];