Remove 10.9 support.

This commit is contained in:
Damiano Galassi committed 2018-02-03 10:43:41 +01:00
1 parent 71c7308d6b
commit cd27e2ce52
18 files changed
+54 -118

No files matched your search

-21
View File
@@ -32,7 +32,6 @@ static void *SBQueueContex = &SBQueueContex;
@property (nonatomic, readonly) NSImage *docImg;
@property (nonatomic, strong) NSPopover *popover;
@property (nonatomic, weak) IBOutlet NSPanel *detachedWindow;
@property (nonatomic, strong) NSPopover *itemPopover;
@property (nonatomic, strong) SBOptionsViewController *windowController;
@@ -404,16 +403,6 @@ static void *SBQueueContex = &SBQueueContex;
}
}
-(NSWindow *)createOptionsWindow {
if (!self.windowController) {
self.windowController = [[SBOptionsViewController alloc] initWithOptions:self.options];
}
_detachedWindow.contentView = self.windowController.view;
_detachedWindow.delegate = self;
return _detachedWindow;
}
/**
* Creates a popover with a SBQueueItem
*/
@@ -444,16 +433,6 @@ static void *SBQueueContex = &SBQueueContex;
return NO;
}
- (NSWindow *)detachableWindowForPopover:(NSPopover *)popover {
if (NSAppKitVersionNumber <= 1343) {
if (popover == self.popover) {
return [self createOptionsWindow];
}
}
return nil;
}
- (void)windowWillClose:(NSNotification *)notification {
self.windowController = nil;
}