mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +00:00
Userland: Convert config listener callbacks to use StringView
The immutability of the string is not relevant here, since the string we're given was allocated in the IPC serialization layer and will be destroyed shortly afterwards. Additionally, noone relies on DeprecatedString-specific functionality. This will make it easier to convert the IPC layer itself to String later on.
This commit is contained in:
parent
5f1dbbaaa6
commit
33829f05fe
22 changed files with 46 additions and 46 deletions
|
@ -357,7 +357,7 @@ void DirectoryView::set_view_mode_from_string(DeprecatedString const& mode)
|
|||
}
|
||||
}
|
||||
|
||||
void DirectoryView::config_string_did_change(DeprecatedString const& domain, DeprecatedString const& group, DeprecatedString const& key, DeprecatedString const& value)
|
||||
void DirectoryView::config_string_did_change(StringView domain, StringView group, StringView key, StringView value)
|
||||
{
|
||||
if (domain != "FileManager" || group != "DirectoryView")
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue