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

Qt: Rename GraphicsBool to ConfigBool #11780

Merged

Conversation

Dentomologist
Copy link
Contributor

GraphicsBool is used by the panes in the Graphics config window to create checkboxes that change their associated config setting, and update their own state when something else changes the config setting.

Despite its current name nothing about this class is particular to the Graphics window, so renaming it to ConfigBool better reflects its purpose. This should also make it less confusing when ConfigBools are eventually added to the other config windows.

I'll convert the other Graphics controls in other PRs; I figure it'll be simpler to review this one if everything's the same type.

GraphicsBool is used by the panes in the Graphics config window to
create checkboxes that change their associated config setting, and
update their own state when something else changes the config setting.

Despite its current name nothing about this class is particular to the
Graphics window, so renaming it to ConfigBool better reflects its
purpose. This should also make it less confusing when ConfigBools are
eventually added to the other config windows.
@AdmiralCurtiss
Copy link
Contributor

Yes, agreed, it took me way too long to realize what GraphicsBool actually was.

@leoetlino leoetlino merged commit 1379a33 into dolphin-emu:master Apr 25, 2023
14 checks passed
@Dentomologist Dentomologist deleted the rename_graphicsbool_to_configbool branch April 25, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants