Fill in the background even for line edits without frames

This commit is contained in:
baldurk
2017-07-26 17:48:05 +01:00
parent a0bee29162
commit 719b7ea478
+4
View File
@@ -995,6 +995,10 @@ void RDStyle::drawPrimitive(PrimitiveElement element, const QStyleOption *opt, Q
o.state &= ~State_Sunken;
drawRoundedRectBorder(&o, p, widget, QPalette::Base, false);
}
else
{
p->fillRect(opt->rect.adjusted(0, 0, -1, -1), opt->palette.brush(QPalette::Base));
}
return;
}