Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HotkeyInputConfigDialog: Move UI creation into named functions #4617

Merged
merged 1 commit into from Jan 11, 2017

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Jan 5, 2017

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.

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.
Copy link
Member

@BhaaLseN BhaaLseN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM (not tested)

@Parlane Parlane merged commit ed6e346 into dolphin-emu:master Jan 11, 2017
@lioncash lioncash deleted the hotkey branch January 25, 2017 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants