diff options
author | Itamar <itamar8910@gmail.com> | 2022-02-25 12:39:33 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-25 22:35:12 +0100 |
commit | 935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5 (patch) | |
tree | 651928926497d516331807724ff448346996538e /Userland/Libraries/LibGUI/MenuItem.cpp | |
parent | af132fdbd183f82a55a8c03e1e1d2ba275f41067 (diff) | |
download | serenity-935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5.zip |
Userland: Rename WindowServerConnection=>ConnectionToWindowServer
This was done with CLion's automatic rename feature.
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) |