From 21bedeeadcdb59cab480dd2943e7814b40696a83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 24 Apr 2008 12:16:40 +0000 Subject: [PATCH] Make the decoration double-buffered again to avoid drawing problems, until a better solution for the wasted memory is found. svn path=/trunk/KDE/kdebase/workspace/; revision=800572 --- clients/oxygen/oxygenclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index ec330c8ce6..675ae69332 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -89,6 +89,10 @@ void OxygenClient::init() widget()->setAutoFillBackground(false); widget()->setAttribute(Qt::WA_OpaquePaintEvent); +#ifdef __GNUC__ +#warning This wastes quite a lot of memory. +#endif + widget()->setAttribute(Qt::WA_PaintOnScreen, false); } bool OxygenClient::decorationBehaviour(DecorationBehaviour behaviour) const