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
This commit is contained in:
Luboš Luňák 2008-04-04 17:43:46 +00:00
parent d93af97050
commit 0256c3bc14

View file

@ -89,7 +89,6 @@ void OxygenClient::init()
widget()->setAutoFillBackground(false); widget()->setAutoFillBackground(false);
widget()->setAttribute(Qt::WA_OpaquePaintEvent); widget()->setAttribute(Qt::WA_OpaquePaintEvent);
widget()->setAttribute(Qt::WA_PaintOnScreen, false);
} }
bool OxygenClient::decorationBehaviour(DecorationBehaviour behaviour) const bool OxygenClient::decorationBehaviour(DecorationBehaviour behaviour) const