diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-03-10 18:40:34 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-16 09:58:42 +0100 |
commit | 3805e4e3a9c102779420ed91342701487fee9979 (patch) | |
tree | 23ca2658d870ad1a2ae1587b77d4c86b8d7768f1 /Userland/DevTools/HackStudio/Debugger | |
parent | 858e55b6531d6c44020271e5c93c88e22c7c3399 (diff) | |
download | serenity-3805e4e3a9c102779420ed91342701487fee9979.zip |
LibGUI+HackStudio+PixelPaint: Port Widget title to the new String
I had to add a set_title(String) helper function for ImageEditor because
TabWidget requires it. This is a temporary fix and will be handled in
subsequent commit.
Diffstat (limited to 'Userland/DevTools/HackStudio/Debugger')
-rw-r--r-- | Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp b/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp index 788564e94b..7c615635d0 100644 --- a/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp +++ b/Userland/DevTools/HackStudio/Debugger/DebugInfoWidget.cpp @@ -148,7 +148,7 @@ RefPtr<GUI::Menu> DebugInfoWidget::get_context_menu_for_variable(const GUI::Mode NonnullRefPtr<GUI::Widget> DebugInfoWidget::build_variables_tab() { auto variables_widget = GUI::Widget::construct(); - variables_widget->set_title("Variables"); + variables_widget->set_title("Variables"_string.release_value_but_fixme_should_propagate_errors()); variables_widget->set_layout<GUI::HorizontalBoxLayout>(); m_variables_view = variables_widget->add<GUI::TreeView>(); @@ -165,7 +165,7 @@ NonnullRefPtr<GUI::Widget> DebugInfoWidget::build_variables_tab() NonnullRefPtr<GUI::Widget> DebugInfoWidget::build_registers_tab() { auto registers_widget = GUI::Widget::construct(); - registers_widget->set_title("Registers"); + registers_widget->set_title("Registers"_string.release_value_but_fixme_should_propagate_errors()); registers_widget->set_layout<GUI::HorizontalBoxLayout>(); m_registers_view = registers_widget->add<GUI::TableView>(); |