Skip to content

Commit

Permalink
Add appropriate parentheses to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Dec 3, 2024
1 parent d1f7d78 commit 699b4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/streamsession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ void StreamSession::UpdateGamepads()
// Connect haptics audio device with a delay to give the sound system time to set up
QTimer::singleShot(1000, this, [this]{
ConnectHaptics();
if(!this->haptics_output > 0)
if(!(this->haptics_output > 0))
QTimer::singleShot(14000, this, &StreamSession::ConnectHaptics);
});
}
Expand Down

0 comments on commit 699b4f6

Please sign in to comment.