Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Qt/NetPlayDialog: Change network mode options to radio buttons #8146
This changes the Host Input Authority and Golf Mode checkboxes into a set of radio buttons, consisting of Fair Input Delay, Host Input Authority, and Golf Mode. This represents the 3 network modes we have.
Although Golf Mode is just an extension of Host Input Authority, it's more logical to the user to present it as a separate option, rather than enabling the Golf Mode checkbox only when Host Input Authority is enabled. This also eliminates the need to first enable Host Input Authority before Golf Mode can be enabled.
This also adds tooltips to provide brief descriptions of the options, as well as reintroducing tooltips that were previously removed.
I also moved the settings load into LoadSettings to be consistent with most other things in our Qt codebase, and it was getting a bit cluttered anyways.