Skip to content
Snippets Groups Projects
Commit b54c3fba authored by lat9nq's avatar lat9nq
Browse files

configure_system: Use lambda template to group settings

parent b55a7636
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,7 @@ void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) {
std::map<u32, QWidget*> system_hold{};
std::forward_list<Settings::BasicSetting*> settings;
auto push = [&settings](std::forward_list<Settings::BasicSetting*>& list) {
auto push = [&settings](auto& list) {
for (auto setting : list) {
settings.push_front(setting);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment