Fix last commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=807454
This commit is contained in:
Luboš Luňák 2008-05-13 21:27:56 +00:00
parent e5b1dd90bc
commit 80dae9910e

View file

@ -734,7 +734,7 @@ void SceneOpenGL::paintBackground( QRegion region )
glPopAttrib(); glPopAttrib();
return; return;
} }
if( clip() && pc.paintArea().isEmpty()) if( pc.clip() && pc.paintArea().isEmpty())
return; // no background to paint return; // no background to paint
glPushAttrib( GL_CURRENT_BIT ); glPushAttrib( GL_CURRENT_BIT );
glColor4f( 0, 0, 0, 1 ); // black glColor4f( 0, 0, 0, 1 ); // black