Fix depreciation warnings.

This commit is contained in:
Damiano Galassi committed 2018-03-23 12:44:19 +01:00
1 parent 3e332fbde5
commit 20b4982dc5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -592,7 +592,7 @@ static void *SBQueueContex = &SBQueueContex;
panel.allowedFileTypes = [MP42FileImporter supportedFileFormats];
[panel beginSheetModalForWindow:self.window completionHandler:^(NSInteger result) {
if (result == NSFileHandlingPanelOKButton) {
if (result == NSModalResponseOK) {
[self addItemsFromURLs:panel.URLs atIndex:self.queue.count];
}
}];