Merge pull request #11434 from danilaml/fix-warnings

msvc: set warning level to /W4 globally
This commit is contained in:
liamwhite
2023-09-06 09:12:58 -04:00
committed by GitHub
13 changed files with 17 additions and 20 deletions

View File

@ -194,7 +194,7 @@ QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer,
return group;
}
const auto get_selected = [=]() -> u32 {
const auto get_selected = [=]() -> int {
for (const auto& [id, button] : radio_buttons) {
if (button->isChecked()) {
return id;