This particular setVisible function is unnecessary. It also has horrible runtime performance, so much that it consumed maybe 80% of the time used to create a widget.
@@ -500,8 +500,6 @@ Widget::Widget(Settings::BasicSetting* setting_, const TranslationMap& translati
}
this->setEnabled(enable);
- this->setVisible(Settings::IsConfiguringGlobal() || setting.Switchable());
-
this->setToolTip(tooltip);
} // namespace ConfigurationShared