diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-29 13:18:09 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-01-29 13:18:09 +0100 |
commit | fa48a51183567934984b381ad8ec281cb24d66ba (patch) | |
tree | f4737d9d29666e6e531a0fd163c49420383484f5 /scene/gui/popup_menu.cpp | |
parent | e59e58a68afd60d0fa63e61751bd6d30575f3bb3 (diff) | |
parent | 15369fdb1d692e1515dd888dfbae275074be63be (diff) | |
download | redot-engine-fa48a51183567934984b381ad8ec281cb24d66ba.tar.gz |
Merge pull request #87688 from AThousandShips/what_is_this
Remove unnecessary `this->` expressions
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r-- | scene/gui/popup_menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp index dc586e86c9..38c326773d 100644 --- a/scene/gui/popup_menu.cpp +++ b/scene/gui/popup_menu.cpp @@ -74,7 +74,7 @@ String PopupMenu::bind_global_menu() { global_menu_name = "__PopupMenu#" + itos(get_instance_id()); if (system_menu_name.length() > 0) { if (system_menus.has(system_menu_name)) { - WARN_PRINT(vformat("Attempting to bind PopupMenu to the special menu %s, but another menu is already bound to it. This menu: %s, current menu: %s", system_menu_name, this->get_description(), system_menus[system_menu_name]->get_description())); + WARN_PRINT(vformat("Attempting to bind PopupMenu to the special menu %s, but another menu is already bound to it. This menu: %s, current menu: %s", system_menu_name, get_description(), system_menus[system_menu_name]->get_description())); } else { const Dictionary &supported_special_names = DisplayServer::get_singleton()->global_menu_get_system_menu_roots(); if (supported_special_names.has(system_menu_name)) { |