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
icc-effect-5.14.5
Luboš Luňák 2008-04-24 12:16:40 +00:00
parent 34493c40be
commit 21bedeeadc
1 changed files with 4 additions and 0 deletions

View File

@ -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