From 0256c3bc14505d19011997e618092419a8993961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 4 Apr 2008 17:43:46 +0000 Subject: [PATCH] Not using WA_PaintOnScreen leads to double-buffering whole decorations, wasting a large amount of pixmap memory for almost nothing. Please double-buffer manually in paintEvent() if the flicker is serious. CCMAIL: cbr@boemann.dk svn path=/trunk/KDE/kdebase/workspace/; revision=793641 --- clients/oxygen/oxygenclient.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 7045a66ced..ec330c8ce6 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -89,7 +89,6 @@ void OxygenClient::init() widget()->setAutoFillBackground(false); widget()->setAttribute(Qt::WA_OpaquePaintEvent); - widget()->setAttribute(Qt::WA_PaintOnScreen, false); } bool OxygenClient::decorationBehaviour(DecorationBehaviour behaviour) const