* 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
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-20 15:33:24 +00:00
parent a193ea09f9
commit 13c546c460

View File

@ -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);