diff options
author | MacDue <macdue@dueutil.tech> | 2022-06-04 20:19:44 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-05 22:42:35 +0100 |
commit | fddff5f4f6b19d16d5f7749e2d8ea45360a36890 (patch) | |
tree | 5649a35d291e4fcb5b7c2750577086c4541e9b55 /Userland/Libraries/LibCore/ConfigFile.cpp | |
parent | c5796173755221e0253a1f9aaed8f582ce8cd617 (diff) | |
download | serenity-fddff5f4f6b19d16d5f7749e2d8ea45360a36890.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibCore/ConfigFile.cpp')
-rw-r--r-- | Userland/Libraries/LibCore/ConfigFile.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibCore/ConfigFile.cpp b/Userland/Libraries/LibCore/ConfigFile.cpp index b8474ca37f..d604c05e25 100644 --- a/Userland/Libraries/LibCore/ConfigFile.cpp +++ b/Userland/Libraries/LibCore/ConfigFile.cpp @@ -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) |