mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Downcast variable to appease clang
This commit is contained in:
@@ -71,7 +71,7 @@ void Browser::DockShow() {
|
||||
}
|
||||
|
||||
void Browser::DockSetMenu(ui::MenuModel* model) {
|
||||
AtomApplicationDelegate* delegate = [NSApp delegate];
|
||||
AtomApplicationDelegate* delegate = (AtomApplicationDelegate*)[NSApp delegate];
|
||||
[delegate setApplicationDockMenu:model];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user