summaryrefslogtreecommitdiff
path: root/Userland/Applications/Piano/MainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Piano/MainWidget.cpp')
-rw-r--r--Userland/Applications/Piano/MainWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Piano/MainWidget.cpp b/Userland/Applications/Piano/MainWidget.cpp
index e08423e269..65e7615f48 100644
--- a/Userland/Applications/Piano/MainWidget.cpp
+++ b/Userland/Applications/Piano/MainWidget.cpp
@@ -42,11 +42,11 @@ ErrorOr<void> MainWidget::initialize()
m_wave_widget->set_fixed_height(100);
m_tab_widget = TRY(try_add<GUI::TabWidget>());
- m_roll_widget = TRY(m_tab_widget->try_add_tab<RollWidget>("Piano Roll", m_track_manager));
+ m_roll_widget = TRY(m_tab_widget->try_add_tab<RollWidget>(TRY("Piano Roll"_string), m_track_manager));
m_roll_widget->set_fixed_height(300);
- (void)TRY(m_tab_widget->try_add_tab<SamplerWidget>("Sampler", m_track_manager));
+ (void)TRY(m_tab_widget->try_add_tab<SamplerWidget>("Sampler"_short_string, m_track_manager));
m_player_widget = TRY(try_add<PlayerWidget>(m_track_manager, m_audio_loop));
m_keys_and_knobs_container = TRY(try_add<GUI::Widget>());