Remove some deprecated api usage.
This commit is contained in:
1 parent
c255338501
commit
3c019fa887
7 files changed
+37
-70
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user