mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibCore: Remove ConfigFile::write_color_entry()
This method is currently unused and adds an unwanted dependency on LibGfx. This also adds some missing `LibGfx/Color.h` includes.
This commit is contained in:
parent
c579617375
commit
fddff5f4f6
3 changed files with 1 additions and 7 deletions
|
@ -176,11 +176,6 @@ void ConfigFile::write_bool_entry(String const& group, String const& key, bool v
|
|||
write_entry(group, key, value ? "true" : "false");
|
||||
}
|
||||
|
||||
void ConfigFile::write_color_entry(String const& group, String const& key, Color value)
|
||||
{
|
||||
write_entry(group, key, String::formatted("{},{},{},{}", value.red(), value.green(), value.blue(), value.alpha()));
|
||||
}
|
||||
|
||||
ErrorOr<void> ConfigFile::sync()
|
||||
{
|
||||
if (!m_dirty)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue