diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/MenuItem.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/MenuItem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/MenuItem.cpp b/Userland/Libraries/LibGUI/MenuItem.cpp index 6658e7ac1b..ece715f936 100644 --- a/Userland/Libraries/LibGUI/MenuItem.cpp +++ b/Userland/Libraries/LibGUI/MenuItem.cpp @@ -5,9 +5,9 @@ */ #include <LibGUI/Action.h> +#include <LibGUI/ConnectionToWindowServer.h> #include <LibGUI/Menu.h> #include <LibGUI/MenuItem.h> -#include <LibGUI/WindowServerConnection.h> namespace GUI { @@ -74,7 +74,7 @@ void MenuItem::update_window_server() return; auto& action = *m_action; auto shortcut_text = action.shortcut().is_valid() ? action.shortcut().to_string() : String(); - WindowServerConnection::the().async_update_menu_item(m_menu_id, m_identifier, -1, action.text(), action.is_enabled(), action.is_checkable(), action.is_checkable() ? action.is_checked() : false, m_default, shortcut_text); + ConnectionToWindowServer::the().async_update_menu_item(m_menu_id, m_identifier, -1, action.text(), action.is_enabled(), action.is_checkable(), action.is_checkable() ? action.is_checked() : false, m_default, shortcut_text); } void MenuItem::set_menu_id(Badge<Menu>, unsigned int menu_id) |