1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

Assistant: Port tooltips to String

This commit is contained in:
Karol Kosek 2023-08-23 20:26:57 +02:00 committed by Andreas Kling
parent 3944c39b3a
commit 4836d33ae4
3 changed files with 10 additions and 10 deletions

View file

@ -250,7 +250,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto& match = results_container.add<Assistant::ResultRow>();
match.set_icon(result->bitmap());
match.set_text(String::from_deprecated_string(result->title()).release_value_but_fixme_should_propagate_errors());
match.set_tooltip_deprecated(result->tooltip());
match.set_tooltip(result->tooltip());
match.on_click = [&result](auto) {
result->activate();
GUI::Application::the()->quit();