Commit 4222e8e8 authored by Ingo Klöcker's avatar Ingo Klöcker Committed by Ingo Klöcker
Browse files

kstyle: Fix a minor code quality issue

Fixes "Clarify calculation precedence for '&' and '?'."
parent c7dff412
Pipeline #194214 passed with stage
in 1 minute and 44 seconds
......@@ -4149,7 +4149,7 @@ bool Style::drawIndicatorRadioButtonPrimitive(const QStyleOption *option, QPaint
const bool mouseOver(enabled && (state & State_MouseOver));
// radio button state
RadioButtonState radioButtonState(state & State_On ? RadioOn : RadioOff);
RadioButtonState radioButtonState((state & State_On) ? RadioOn : RadioOff);
// animation state
_animations->widgetStateEngine().updateState(widget, AnimationHover, mouseOver);
Supports Markdown
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