Remove some deprecated api usage.

This commit is contained in:
Damiano Galassi committed 2016-07-26 20:32:58 +02:00
1 parent c255338501
commit 3c019fa887
7 files changed
+37 -70

No files matched your search

+2 -3
View File
@@ -223,16 +223,15 @@
[resultsTable setDelegate:nil];
[resultsTable setDataSource:nil];
[NSApp endSheet:self.window returnCode:1];
[self.window.sheetParent endSheet:self.window returnCode:NSModalResponseOK];
}
- (IBAction)closeWindow:(id)sender
{
[resultsTable setDelegate:nil];
[resultsTable setDataSource:nil];
[NSApp endSheet:self.window returnCode:0];
[self.window.sheetParent endSheet:self.window returnCode:NSModalResponseCancel];
}
#pragma mark - Progress