Kaydet (Commit) 8ab0f9f3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unnecessaryparen

Change-Id: Ie28001cf1eb5259f479caecdfb50355f98b80b7f
üst bb035edc
...@@ -469,7 +469,7 @@ bool KDE5SalGraphics::drawNativeControl(ControlType type, ControlPart part, ...@@ -469,7 +469,7 @@ bool KDE5SalGraphics::drawNativeControl(ControlType type, ControlPart part,
{ {
QStyleOptionButton option; QStyleOptionButton option;
// clear FOCUSED bit, focus is drawn separately // clear FOCUSED bit, focus is drawn separately
nControlState &= ~(ControlState::FOCUSED); nControlState &= ~ControlState::FOCUSED;
draw(QStyle::CE_CheckBox, &option, m_image.get(), draw(QStyle::CE_CheckBox, &option, m_image.get(),
vclStateValue2StateFlag(nControlState, value)); vclStateValue2StateFlag(nControlState, value));
} }
...@@ -551,7 +551,7 @@ bool KDE5SalGraphics::drawNativeControl(ControlType type, ControlPart part, ...@@ -551,7 +551,7 @@ bool KDE5SalGraphics::drawNativeControl(ControlType type, ControlPart part,
{ {
QStyleOptionButton option; QStyleOptionButton option;
// clear FOCUSED bit, focus is drawn separately // clear FOCUSED bit, focus is drawn separately
nControlState &= ~(ControlState::FOCUSED); nControlState &= ~ControlState::FOCUSED;
draw(QStyle::CE_RadioButton, &option, m_image.get(), draw(QStyle::CE_RadioButton, &option, m_image.get(),
vclStateValue2StateFlag(nControlState, value)); vclStateValue2StateFlag(nControlState, value));
} }
......
Markdown is supported
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