mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
LibDraw: Remove debug spam about loading system themes
This commit is contained in:
parent
c66a6f131e
commit
45e7c2ba69
1 changed files with 0 additions and 3 deletions
|
@ -28,8 +28,6 @@ RefPtr<SharedBuffer> load_system_theme(const String& path)
|
||||||
auto file = CConfigFile::open(path);
|
auto file = CConfigFile::open(path);
|
||||||
auto buffer = SharedBuffer::create_with_size(sizeof(SystemTheme));
|
auto buffer = SharedBuffer::create_with_size(sizeof(SystemTheme));
|
||||||
|
|
||||||
dbg() << "Created shared buffer with id " << buffer->shared_buffer_id();
|
|
||||||
|
|
||||||
auto* data = (SystemTheme*)buffer->data();
|
auto* data = (SystemTheme*)buffer->data();
|
||||||
|
|
||||||
auto get_color = [&](auto& name) {
|
auto get_color = [&](auto& name) {
|
||||||
|
@ -37,7 +35,6 @@ RefPtr<SharedBuffer> load_system_theme(const String& path)
|
||||||
auto color = Color::from_string(color_string);
|
auto color = Color::from_string(color_string);
|
||||||
if (!color.has_value())
|
if (!color.has_value())
|
||||||
return Color(Color::Black);
|
return Color(Color::Black);
|
||||||
dbg() << "Parsed system theme color '" << name << "' = " << color.value();
|
|
||||||
return color.value();
|
return color.value();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue