summaryrefslogtreecommitdiffstats
path: root/scene/gui/tab_container.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/tab_container.cpp
parent3c39aa8302a4f07a1470685bbf66f883c49f571e (diff)
parent7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e (diff)
downloadredot-engine-e8f73124a7d97abc94cea3cf7fe5b5614f61a448.tar.gz
Merge pull request #45845 from qarmin/cppcheck_scene_2
Initialize class variables with default values in scene/ [2/2]
Diffstat (limited to 'scene/gui/tab_container.cpp')
-rw-r--r--scene/gui/tab_container.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp
index 5acc789fbb..3377ac62e6 100644
--- a/scene/gui/tab_container.cpp
+++ b/scene/gui/tab_container.cpp
@@ -1243,20 +1243,5 @@ void TabContainer::_bind_methods() {
}
TabContainer::TabContainer() {
- first_tab_cache = 0;
- last_tab_cache = 0;
- buttons_visible_cache = false;
- menu_hovered = false;
- highlight_arrow = -1;
- tabs_ofs_cache = 0;
- current = 0;
- previous = 0;
- align = ALIGN_CENTER;
- tabs_visible = true;
- all_tabs_in_front = false;
- drag_to_rearrange_enabled = false;
- tabs_rearrange_group = -1;
- use_hidden_tabs_for_min_size = false;
-
connect("mouse_exited", callable_mp(this, &TabContainer::_on_mouse_exited));
}