diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-12 17:55:48 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-12 17:55:48 +0100 |
commit | f2154bca179e5242390e8b3230607360bdaa2949 (patch) | |
tree | e806aca4f03e19ad385ce5fcccf3ca8f13e50cc6 /Userland/Utilities/cp.cpp | |
parent | c8738bbd7e56f6298981cc2f0195bb460c4ad65a (diff) | |
download | serenity-f2154bca179e5242390e8b3230607360bdaa2949.zip |
Browser: Use URL for window title if tab title is empty
Seeing " - Browser" for loading pages is annoying, so let's do something
more sensible instead for empty tab document titles: "<URL> - Browser".
Also consolidate the two places where this code is used into a lambda to
make any future changes easier.
Diffstat (limited to 'Userland/Utilities/cp.cpp')
0 files changed, 0 insertions, 0 deletions