]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiToolbar.cpp
* let the cleanlook style show the check mark. It normally ignores it for comboboxes.
[features.git] / 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.