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_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_profiler.cpp')
-rw-r--r-- | editor/debugger/editor_profiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_profiler.cpp b/editor/debugger/editor_profiler.cpp index b49cab9df7..01d7d8f19f 100644 --- a/editor/debugger/editor_profiler.cpp +++ b/editor/debugger/editor_profiler.cpp @@ -356,7 +356,7 @@ void EditorProfiler::_update_frame() { item->set_metadata(1, it.script); item->set_metadata(2, it.line); item->set_text_alignment(2, HORIZONTAL_ALIGNMENT_RIGHT); - item->set_tooltip(0, it.name + "\n" + it.script + ":" + itos(it.line)); + item->set_tooltip_text(0, it.name + "\n" + it.script + ":" + itos(it.line)); float time = dtime == DISPLAY_SELF_TIME ? it.self : it.total; |