Repaint filter box area when filter is empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=749110
This commit is contained in:
parent
072cfc7597
commit
7515cc8e0e
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue