Ignore format changes for new clang-format version
This commit is contained in:
@@ -2695,8 +2695,10 @@ void BaseStyle::drawControl(ControlElement element,
|
||||
if (isChecked) {
|
||||
painter->setRenderHint(QPainter::Antialiasing);
|
||||
painter->setPen(Qt::NoPen);
|
||||
// clang-format off
|
||||
QPalette::ColorRole textRole =
|
||||
!isEnabled ? QPalette::Text : isSelected ? QPalette::HighlightedText : QPalette::ButtonText;
|
||||
// clang-format on
|
||||
painter->setBrush(option->palette.brush(option->palette.currentColorGroup(), textRole));
|
||||
qreal rx, ry, rw, rh;
|
||||
QRectF(checkRect).getRect(&rx, &ry, &rw, &rh);
|
||||
|
||||
Reference in New Issue
Block a user