* let the cleanlook style show the check mark. It normally ignores it for comboboxes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-05 12:01:40 +00:00
parent 6da3d44268
commit 2280e16db4

View File

@ -260,7 +260,7 @@ public:
QString text = underlineFilter(opt.text); QString text = underlineFilter(opt.text);
opt.text = QString(); opt.text = QString();
painter->eraseRect(option.rect); painter->eraseRect(option.rect);
combo->style()->drawControl(QStyle::CE_MenuItem, &opt, painter, combo); combo->style()->drawControl(QStyle::CE_MenuItem, &opt, painter, combo->view());
painter->restore(); painter->restore();
// Draw the rich text. // Draw the rich text.