mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +00:00
Everywhere: Convert a handful of String::format() => formatted()
This commit is contained in:
parent
c90b7881a7
commit
c71807a3fc
23 changed files with 24 additions and 24 deletions
|
@ -77,7 +77,7 @@ int main(int, char**)
|
|||
auto wm_config = Core::ConfigFile::open("/etc/WindowServer/WindowServer.ini");
|
||||
auto theme_name = wm_config->read_entry("Theme", "Name", "Default");
|
||||
|
||||
auto theme = Gfx::load_system_theme(String::format("/res/themes/%s.ini", theme_name.characters()));
|
||||
auto theme = Gfx::load_system_theme(String::formatted("/res/themes/{}.ini", theme_name));
|
||||
ASSERT(theme);
|
||||
Gfx::set_system_theme(*theme);
|
||||
auto palette = Gfx::PaletteImpl::create_with_shared_buffer(*theme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue