On Tue, 2006-01-10 at 16:43 +0100, Abdel wrote:
> Abdel a écrit :

...

> So forget what I said about system wide QT blablabla. IMO this simple 
> patch is very safe and it improves windows experience significantly. 
> With this change, Lyx-1.4.0 becomes usable for small to medium documents 
> under windows.
> 
> Abdel.

This patch causes no problems for me (Linux and qt2).

- Martin

> Index: QWorkArea.C
> ===================================================================
> RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QWorkArea.C,v
> retrieving revision 1.29
> diff -u -r1.29 QWorkArea.C
> --- QWorkArea.C 18 Jul 2005 00:29:12 -0000      1.29
> +++ QWorkArea.C 4 Jan 2006 11:52:18 -0000
> @@ -57,7 +57,10 @@
> 
>          content_->show();
> 
> -       content_->setBackgroundColor(lcolorcache.get(LColor::background));
> +       // It is said that this help reduce flicker
> +       content_->setBackgroundMode(NoBackground);
> +       // If we go back to a custom backgound call:
> +       // 
> content_->setBackgroundColor(lcolorcache.get(LColor::background));
> 
>          QHBoxLayout * vl = new QHBoxLayout(this);
>          vl->addWidget(content_, 5);
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to