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
This commit is contained in:
parent
34493c40be
commit
21bedeeadc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue