mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-12-13 23:05:21 -06:00
Using reserve() for optimization inserts, marked unused pair items and minor code refactor
This commit is contained in:
committed by
chaphidoesstuff
parent
9490b5264e
commit
e886f27816
@@ -174,10 +174,10 @@ void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) {
|
||||
widget->deleteLater();
|
||||
}
|
||||
}
|
||||
for (const auto& [label, widget] : core_hold) {
|
||||
for (const auto& [_, widget] : core_hold) {
|
||||
core_layout.addWidget(widget);
|
||||
}
|
||||
for (const auto& [id, widget] : system_hold) {
|
||||
for (const auto& [_, widget] : system_hold) {
|
||||
system_layout.addWidget(widget);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user