QPalette::Base: Used mostly as the background color for text
entry widgets, but can also be used for other painting - such as the
background of combobox drop down lists and toolbar handles. It is
usually white or another light color.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23660
a592a061-630c-0410-9148-
cb99ea01b6c8
QStyleOptionViewItem opt = option;
// default background
- painter->fillRect(opt.rect, opt.palette.background().color());
+ painter->fillRect(opt.rect, opt.palette.color(QPalette::Base));
// category header?
if (lyxrc.group_layouts) {