diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-03-07 18:02:54 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-03-26 16:24:05 +0100 |
commit | 15a9f94346c211b7afe96af500cb3405aabcf6b8 (patch) | |
tree | 150287a257a89a0ff579bcc81baa75a0bbca8c79 /main | |
parent | 197cb4e7718034aba35832a547477dfc858a7280 (diff) |
Add macOS DisplayServer implementation.
Change global menu to use Callable, add support for check items and submenus.
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index c9fde81f7a..bc97f9f8c5 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1964,7 +1964,7 @@ bool Main::start() { #ifdef OSX_ENABLED String mac_iconpath = GLOBAL_DEF("application/config/macos_native_icon", "Variant()"); if (mac_iconpath != "") { - OS::get_singleton()->set_native_icon(mac_iconpath); + DisplayServer::get_singleton()->set_native_icon(mac_iconpath); hasicon = true; } #endif |