]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiToolbar.cpp
* use base color for layout list background. Qt docs say:
[features.git] / src / frontends / qt4 / GuiToolbar.cpp
index 167d86d3977a52272249c7678b8bc5a0c5557eb8..581e6ec9d23d40d90fefdd4256a5e4ab4f911496 100644 (file)
@@ -264,7 +264,7 @@ public:
                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) {