summaryrefslogtreecommitdiff
path: root/scene/gui/menu_button.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-10 20:06:12 +0100
committerGitHub <noreply@github.com>2021-02-10 20:06:12 +0100
commite8f73124a7d97abc94cea3cf7fe5b5614f61a448 (patch)
treeff99e368359d56d760c8617af1021d0313635e38 /scene/gui/menu_button.cpp
parent3c39aa8302a4f07a1470685bbf66f883c49f571e (diff)
parent7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (diff)
Merge pull request #45845 from qarmin/cppcheck_scene_2
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/gui/menu_button.cpp')
-rw-r--r--scene/gui/menu_button.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/menu_button.cpp b/scene/gui/menu_button.cpp
index 94cb5ef0f4..5acc7e808a 100644
--- a/scene/gui/menu_button.cpp
+++ b/scene/gui/menu_button.cpp
@@ -118,7 +118,6 @@ void MenuButton::set_disable_shortcuts(bool p_disabled) {
}
MenuButton::MenuButton() {
- switch_on_hover = false;
set_flat(true);
set_toggle_mode(true);
set_disable_shortcuts(false);