summaryrefslogtreecommitdiffstats
path: root/scene/gui/spin_box.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-12-18 15:46:56 +0100
committerkobewi <kobewi4e@gmail.com>2024-01-09 16:11:47 +0100
commit0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136 (patch)
tree9b83683d86b94f9fdf7d6d58594d2b28d88a13ab /scene/gui/spin_box.cpp
parent8297ec949bad8029372da13e1d4e36599989b5ae (diff)
downloadredot-engine-0e8f90f4c8b4b353d3ac372e5f00493a2f0bd136.tar.gz
Update deferred calls to use Callables
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r--scene/gui/spin_box.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index bd549a6e4a..d482495ca0 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -280,8 +280,8 @@ void SpinBox::_notification(int p_what) {
} break;
case NOTIFICATION_THEME_CHANGED: {
- call_deferred(SNAME("update_minimum_size"));
- get_line_edit()->call_deferred(SNAME("update_minimum_size"));
+ callable_mp((Control *)this, &Control::update_minimum_size).call_deferred();
+ callable_mp((Control *)get_line_edit(), &Control::update_minimum_size).call_deferred();
} break;
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {