From 13c546c460a85d0b76688497f58f9771c2a9e631 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 20 Mar 2006 15:33:24 +0000 Subject: [PATCH] * src/frontends/qt2/QWorkArea.C (QWorkArea::QWorkArea): do not set background of the workarea (bug 2197) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13433 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/QWorkArea.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt2/QWorkArea.C b/src/frontends/qt2/QWorkArea.C index a647a4cdfe..aeb896eff6 100644 --- a/src/frontends/qt2/QWorkArea.C +++ b/src/frontends/qt2/QWorkArea.C @@ -62,7 +62,8 @@ QWorkArea::QWorkArea(LyXView &, int, int) content_->show(); - content_->setBackgroundColor(lcolorcache.get(LColor::background)); + // It is said that this helps reduce flicker + content_->setBackgroundMode(NoBackground); QHBoxLayout * vl = new QHBoxLayout(this); vl->addWidget(content_, 5); -- 2.39.5