mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
Userland: Use nondeprecated set_tooltip for static and formatted strings
This commit is contained in:
parent
46a97844c7
commit
ed3e729d4e
18 changed files with 45 additions and 45 deletions
|
@ -117,7 +117,7 @@ BookmarksBarWidget::BookmarksBarWidget(DeprecatedString const& bookmarks_file, b
|
|||
set_visible(false);
|
||||
|
||||
m_additional = GUI::Button::construct();
|
||||
m_additional->set_tooltip_deprecated("Show hidden bookmarks");
|
||||
m_additional->set_tooltip("Show hidden bookmarks"_string);
|
||||
m_additional->set_menu(m_additional_menu);
|
||||
auto bitmap_or_error = Gfx::Bitmap::load_from_file("/res/icons/16x16/overflow-menu.png"sv);
|
||||
if (!bitmap_or_error.is_error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue