Set some windows attributes.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-06-15 19:42:41 +02:00
parent e5921ffd64
commit 81908eea01

View file

@ -41,6 +41,8 @@ namespace GUIEditor
// so that we can render the widget normally ourselves, without the image // so that we can render the widget normally ourselves, without the image
// disappearing when a widget is resized or shown on top of us // disappearing when a widget is resized or shown on top of us
setAttribute( Qt::WA_PaintOnScreen, true ); setAttribute( Qt::WA_PaintOnScreen, true );
setAttribute( Qt::WA_OpaquePaintEvent, true );
setAttribute( Qt::WA_NoSystemBackground, true );
} }
Nel3DWidget::~Nel3DWidget() Nel3DWidget::~Nel3DWidget()