Skip to content
Commit afb87ba4 authored by Hartmut Riesenbeck's avatar Hartmut Riesenbeck
Browse files

Fix Coverty Scan ID 1343237 - Unused value

The coverty scan issue in BlockOptions::checkValidity() was fixed by
moving the boolean variable "found" outside the for loop. By this it
wouldn't reset to false at the beginning of each loop cycle and works
now as expected.

By the way BlockOptions::checkValidity() was refactored to run the for
loops only when checkboxes are enabled. Also a validy check was added
when check boxes becomes checked. Removed unused QString variable.

REVIEW: 127663
parent ffa77071
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment