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

fix: move return in the changeValue method to ensure proper execution flow #156

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

smnppKDAB
Copy link
Collaborator

move the returns to be sure that if a condition is not verified then we reach the case where the widget is not supported

@smnppKDAB smnppKDAB requested a review from dfaure-kdab August 29, 2024 12:17
@smnppKDAB smnppKDAB force-pushed the sperret-returnRightPosition branch 2 times, most recently from d604d73 to 64d84a0 Compare August 29, 2024 13:28
@smnppKDAB smnppKDAB changed the title fix: move return into changeValue fix: move return in the changeValue method to ensure proper execution flow Aug 29, 2024
… flow

move the returns inside the `if` condition to be sure that if a condition is not verified then we reach the case where the widget is not supported
@smnppKDAB smnppKDAB force-pushed the sperret-returnRightPosition branch from 64d84a0 to 2e965f2 Compare August 30, 2024 13:46
@dfaure-kdab dfaure-kdab merged commit 5872867 into KDAB:main Aug 30, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants