mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 12:45:08 +00:00
Demos: Use new format functions.
This commit is contained in:
parent
d781f3f6b5
commit
560c52989c
6 changed files with 34 additions and 45 deletions
|
@ -46,7 +46,7 @@ int main(int argc, char** argv)
|
|||
window->show();
|
||||
|
||||
view.on_title_change = [&](auto& title) {
|
||||
window->set_title(String::format("%s - WebView", title.characters()));
|
||||
window->set_title(String::formatted("{} - WebView", title));
|
||||
};
|
||||
|
||||
view.on_link_hover = [&](auto& url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue