mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00

The constructor shouldn't be used as a dumping ground for all UI-related initialization. Doing so makes it somewhat more difficult to reason about how certain UI elements get created. It also puts unrelated identifiers in the same scope. This separates the UI creation out so code relevant to each component is self-contained.