Skip to content

Return on first !disabled item in BrowserAccessControlDialog::areAllDisabled() #11817

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AMurkin
Copy link
Contributor

@AMurkin AMurkin commented Mar 4, 2025

Iterate only over the elements needed.
No extra variable required.

Screenshots

None.

Testing strategy

I don't think it applies here. (Tested in my mind)

Type of change

Minor code optimization.

@AMurkin AMurkin changed the title Return on first disabled item in BrowserAccessControlDialog::areAllDisabled() Return on first !disabled item in BrowserAccessControlDialog::areAllDisabled() Mar 4, 2025
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