diff options
author | Micky <micheledevita2@gmail.com> | 2022-08-29 15:55:49 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-08-30 11:16:23 +0200 |
commit | 97f8c9b97cf68705c5fe215314df7f9c0290b14b (patch) | |
tree | c88711da6821853fc18591ecfcd6be3d1165a5b3 /editor/debugger/editor_performance_profiler.cpp | |
parent | c3332018fb3625d40046d23099cf7e562ddcf65b (diff) |
Rename TreeItem's `set_tooltip` to `set_tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`get_tooltip` -> `get_tooltip_text`
For consistency:
`get_button_tooltip` -> `get_button_tooltip_text`
And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
Diffstat (limited to 'editor/debugger/editor_performance_profiler.cpp')
-rw-r--r-- | editor/debugger/editor_performance_profiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/debugger/editor_performance_profiler.cpp b/editor/debugger/editor_performance_profiler.cpp index 55d025f675..da5ac17a47 100644 --- a/editor/debugger/editor_performance_profiler.cpp +++ b/editor/debugger/editor_performance_profiler.cpp @@ -61,7 +61,7 @@ void EditorPerformanceProfiler::Monitor::update_value(float p_value) { } break; } item->set_text(1, label); - item->set_tooltip(1, tooltip); + item->set_tooltip_text(1, tooltip); if (p_value > max) { max = p_value; @@ -73,7 +73,7 @@ void EditorPerformanceProfiler::Monitor::reset() { max = 0.0f; if (item) { item->set_text(1, ""); - item->set_tooltip(1, ""); + item->set_tooltip_text(1, ""); } } |