Downcast variable to appease clang
This commit is contained in:
parent
dfcad75a27
commit
2f530f7049
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void Browser::DockShow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Browser::DockSetMenu(ui::MenuModel* model) {
|
void Browser::DockSetMenu(ui::MenuModel* model) {
|
||||||
AtomApplicationDelegate* delegate = [NSApp delegate];
|
AtomApplicationDelegate* delegate = (AtomApplicationDelegate*)[NSApp delegate];
|
||||||
[delegate setApplicationDockMenu:model];
|
[delegate setApplicationDockMenu:model];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue