Properly initialize Scene::Window pointers in EffectWindow objects.
svn path=/trunk/KDE/kdebase/workspace/; revision=739644
This commit is contained in:
parent
373f6e552a
commit
f4600f4b3f
2 changed files with 2 additions and 0 deletions
|
@ -701,6 +701,7 @@ void SceneOpenGL::windowAdded( Toplevel* c )
|
|||
{
|
||||
assert( !windows.contains( c ));
|
||||
windows[ c ] = new Window( c );
|
||||
c->effectWindow()->setSceneWindow( windows[ c ]);
|
||||
}
|
||||
|
||||
void SceneOpenGL::windowClosed( Toplevel* c, Deleted* deleted )
|
||||
|
|
|
@ -316,6 +316,7 @@ void SceneXrender::windowAdded( Toplevel* c )
|
|||
{
|
||||
assert( !windows.contains( c ));
|
||||
windows[ c ] = new Window( c );
|
||||
c->effectWindow()->setSceneWindow( windows[ c ]);
|
||||
}
|
||||
|
||||
// Convert QRegion to XserverRegion. This code uses XserverRegion
|
||||
|
|
Loading…
Reference in a new issue