mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Add const lvalue ref to editor/* container parameters
This commit is contained in:
parent
bb6b06c813
commit
1638c1b28f
119 changed files with 397 additions and 397 deletions
|
|
@ -758,7 +758,7 @@ void TextShaderEditor::_show_warnings_panel(bool p_show) {
|
|||
warnings_panel->set_visible(p_show);
|
||||
}
|
||||
|
||||
void TextShaderEditor::_warning_clicked(Variant p_line) {
|
||||
void TextShaderEditor::_warning_clicked(const Variant &p_line) {
|
||||
if (p_line.get_type() == Variant::INT) {
|
||||
code_editor->get_text_editor()->set_caret_line(p_line.operator int64_t());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue