Repaint filter box area when filter is empty.

svn path=/trunk/KDE/kdebase/workspace/; revision=749110
This commit is contained in:
Rivo Laks 2007-12-16 14:43:28 +00:00
parent 072cfc7597
commit 7515cc8e0e

View file

@ -977,7 +977,10 @@ void PresentWindowsEffect::updateFilterTexture()
#ifdef HAVE_OPENGL #ifdef HAVE_OPENGL
discardFilterTexture(); discardFilterTexture();
if( windowFilter.isEmpty()) if( windowFilter.isEmpty())
{
effects->addRepaint( filterTextureRect );
return; return;
}
// Create font for filter text // Create font for filter text
QFont font; QFont font;
font.setPointSize( font.pointSize() * 2 ); font.setPointSize( font.pointSize() * 2 );