mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: simplify the reference to NSAPP
(cherry picked from commit ba2c077600)
This commit is contained in:
parent
08f2c26f86
commit
91e1263ece
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ begin
|
|||
begin
|
||||
subMenu:= TCocoaMenu.alloc.initWithTitle(NSString.string_);
|
||||
TCocoaMenuItem(servicesItem.Handle).setSubmenu( subMenu );
|
||||
TCocoaWidgetSet(WidgetSet).NSApp.setServicesMenu( NSMenu(servicesItem.Handle) );
|
||||
NSApp.setServicesMenu( NSMenu(servicesItem.Handle) );
|
||||
end;
|
||||
end;
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ var
|
|||
sendTypes: NSArray;
|
||||
returnTypes: NSArray;
|
||||
begin
|
||||
DCApp:= TDCCocoaApplication( TCocoaWidgetSet(WidgetSet).NSApp );
|
||||
DCApp:= TDCCocoaApplication( NSApp );
|
||||
|
||||
// MacOS Service menu incoming setup
|
||||
if not Assigned(NSServiceProvider) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue