]> git.lyx.org Git - lyx.git/commitdiff
* let the cleanlook style show the check mark. It normally ignores it for comboboxes.
authorStefan Schimanski <sts@lyx.org>
Wed, 5 Mar 2008 12:01:40 +0000 (12:01 +0000)
committerStefan Schimanski <sts@lyx.org>
Wed, 5 Mar 2008 12:01:40 +0000 (12:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23474 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToolbar.cpp

index 90227345779f378a7029caa3c9d11b0efec1e70d..f5c68b4c268d3c7824e4ef3bce64f48453f19af8 100644 (file)
@@ -260,7 +260,7 @@ public:
                QString text = underlineFilter(opt.text);
                opt.text = QString();
                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();
 
                // Draw the rich text.