Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jvogt23 committed Jan 27, 2025
1 parent a217a0e commit d476111
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ void RobotFactoryPosition::handle_ready() {
void RobotFactoryPosition::update_position() {
bool manual_position_set = check_for_position_override();
if (manual_position_set) {
return
};
return;
}

switch (current_play_state_.state()) {
case PlayState::State::Playing: {
Expand Down
2 changes: 1 addition & 1 deletion soccer/src/soccer/ui/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ void MainWindow::on_actionUse_Multiple_Joysticks_toggled(bool value) {
void MainWindow::on_goalieID_currentIndexChanged(int value) {
update_cache(_game_settings.request_goalie_id, value - 1, &_game_settings_valid);
QString goalieNum = _ui.goalieID->currentText();
bool goalieNumIsInt{false};
bool goalieNumIsInt{false}; // TODO: Better type conversion? - QT5 Requires bool in its toInt.
int goalieInt = goalieNum.toInt(&goalieNumIsInt);
current_goalie_num_ = goalieInt;
if (goalieNumIsInt) {
Expand Down

0 comments on commit d476111

Please sign in to comment.