From 2280e16db4ce39bec4ec206bfbe684337d8d31f3 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Wed, 5 Mar 2008 12:01:40 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiToolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 9022734577..f5c68b4c26 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -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.