diff options
author | Damiano Galassi <[email protected]> | 2018-06-10 09:12:18 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-06-10 09:12:18 +0200 |
commit | 0e8eb04fd769fa471b71e5e5f81b55c47537d694 (patch) | |
tree | 5597113cd9a93a437af03859b38a22e2ea424f40 /macosx/HBAppDelegate.m | |
parent | d3cd483eeddd8726bad862e811b31f75c1fad965 (diff) |
MacGui: fix another round of deprecation warnings. Remove drawer code.
Diffstat (limited to 'macosx/HBAppDelegate.m')
-rw-r--r-- | macosx/HBAppDelegate.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAppDelegate.m b/macosx/HBAppDelegate.m index 53b89417c..72e3f3656 100644 --- a/macosx/HBAppDelegate.m +++ b/macosx/HBAppDelegate.m @@ -154,7 +154,7 @@ [alert addButtonWithTitle:NSLocalizedString(@"Quit", @"Quit Alert -> first button")]; [alert addButtonWithTitle:NSLocalizedString(@"Don't Quit", @"Quit Alert -> second button")]; [alert.buttons[1] setKeyEquivalent:@"\E"]; - [alert setAlertStyle:NSCriticalAlertStyle]; + [alert setAlertStyle:NSAlertStyleCritical]; NSInteger result = [alert runModal]; |