mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibGUI+Userland: Port Labels to String
This commit is contained in:
parent
3d53dc8228
commit
91bafc2653
92 changed files with 240 additions and 242 deletions
|
@ -56,11 +56,11 @@ SamplerWidget::SamplerWidget(TrackManager& track_manager)
|
|||
if (!open_path.has_value())
|
||||
return;
|
||||
// TODO: We don't actually load the sample.
|
||||
m_recorded_sample_name->set_text(open_path.value());
|
||||
m_recorded_sample_name->set_text(String::from_deprecated_string(open_path.value()).release_value_but_fixme_should_propagate_errors());
|
||||
m_wave_editor->update();
|
||||
};
|
||||
|
||||
m_recorded_sample_name = m_open_button_and_recorded_sample_name_container->add<GUI::Label>("No sample loaded");
|
||||
m_recorded_sample_name = m_open_button_and_recorded_sample_name_container->add<GUI::Label>("No sample loaded"_string.release_value_but_fixme_should_propagate_errors());
|
||||
m_recorded_sample_name->set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
|
||||
m_wave_editor = add<WaveEditor>(m_track_manager);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue