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/GeneralWidget and GraphicsWidget: Remove unused member variable #11798

Conversation

Dentomologist
Copy link
Contributor

m_xrr_config was used by the GeneralWidget::GetAvailableResolutions function to get the list of supported fullscreen resolutions when HAVE_XRANDR was set. #6196 removed the ability to set that resolution in the UI, leaving the GetAvailableResolutions function unused. I'm removing that function in #11797.

m_xrr_config is initialized in MainWindow which still uses it to toggle fullscreen, but the references in GeneralWidget and GraphicsWidget (which just ferried m_xrr_config from MainWindow to GeneralWidget) are now unnecessary and removed in this PR.

m_xrr_config was used by the GeneralWidget::GetAvailableResolutions
function to get the list of supported fullscreen resolutions when
HAVE_XRANDR was set. aa4088a removed the ability to set that resolution
in the UI, leaving the GetAvailableResolutions function unused.

m_xrr_config is initialized in MainWindow which still uses it to toggle
fullscreen, but the references in GeneralWidget and GraphicsWidget
(which just ferried m_xrr_config from MainWindow to GeneralWidget) are
now unnecessary and removed in this commit.
@Dentomologist Dentomologist force-pushed the remove_obsolete_widget_member_variable branch from dad93e0 to b59ca96 Compare April 27, 2023 23:51
@leoetlino leoetlino merged commit 88320f3 into dolphin-emu:master Apr 28, 2023
14 checks passed
@Dentomologist Dentomologist deleted the remove_obsolete_widget_member_variable branch April 28, 2023 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants