diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-25 13:10:28 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-25 13:10:34 +0200 |
commit | fee9742b59f8431fc6dbe2d0e8d3a6c400877c75 (patch) | |
tree | 44b25570c9838bbb8cf4b331e5b651bf0eee32b1 | |
parent | aea1a0e9838e7c41a9fe39b36a107fdb6760eac8 (diff) |
Fix build after merge of #37235
It used APIs that were changed after the PR was last rebased.
-rw-r--r-- | editor/editor_feature_profile.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/editor_feature_profile.cpp b/editor/editor_feature_profile.cpp index 4af964b78c..2a410c03e7 100644 --- a/editor/editor_feature_profile.cpp +++ b/editor/editor_feature_profile.cpp @@ -29,6 +29,7 @@ /*************************************************************************/ #include "editor_feature_profile.h" + #include "core/io/json.h" #include "core/os/dir_access.h" #include "editor/editor_settings.h" @@ -869,9 +870,9 @@ EditorFeatureProfileManager::EditorFeatureProfileManager() { // Add some spacing above the help label. Ref<StyleBoxEmpty> sb = memnew(StyleBoxEmpty); sb->set_default_margin(MARGIN_TOP, 20 * EDSCALE); - no_profile_selected_help->add_style_override("normal", sb); + no_profile_selected_help->add_theme_style_override("normal", sb); no_profile_selected_help->set_align(Label::ALIGN_CENTER); - no_profile_selected_help->set_v_size_flags(SIZE_EXPAND_FILL); + no_profile_selected_help->set_v_size_flags(Control::SIZE_EXPAND_FILL); h_split->add_child(no_profile_selected_help); new_profile_dialog = memnew(ConfirmationDialog); |