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:
parent
d93af97050
commit
0256c3bc14
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue