1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:38:12 +00:00

Kernel: Rename ProcessorInfo::{m_brandstr => m_brand}

There's no need to specify the type of the member in it's name,
especially not in shorthand format.
This commit is contained in:
Idan Horowitz 2022-01-11 13:49:09 +02:00
parent be81278634
commit f9528f1882
4 changed files with 5 additions and 5 deletions

View file

@ -577,7 +577,7 @@ NonnullRefPtr<GUI::Widget> build_hardware_tab()
Vector<GUI::JsonArrayModel::FieldSpec> processors_field;
processors_field.empend("processor", "Processor", Gfx::TextAlignment::CenterRight);
processors_field.empend("cpuid", "CPUID", Gfx::TextAlignment::CenterLeft);
processors_field.empend("brandstr", "Brand", Gfx::TextAlignment::CenterLeft);
processors_field.empend("brand", "Brand", Gfx::TextAlignment::CenterLeft);
processors_field.empend("Features", Gfx::TextAlignment::CenterLeft, [](auto& object) {
StringBuilder builder;
auto features = object.get("features").as_array();