Close window filtering when the delete key is pressed.

FEATURE: 180516

svn path=/trunk/KDE/kdebase/workspace/; revision=910395
This commit is contained in:
Martin Gräßlin 2009-01-13 10:10:55 +00:00
parent b362b980cb
commit b2a6be6bf0

View file

@ -368,6 +368,14 @@ void PresentWindowsEffect::grabbedKeyboardEvent( QKeyEvent *e )
return;
case Qt::Key_Tab:
return; // Nothing at the moment
case Qt::Key_Delete:
if( !m_windowFilter.isEmpty() )
{
m_windowFilter.clear();
updateFilterTexture();
rearrangeWindows();
}
break;
case 0:
return; // HACK: Workaround for Qt bug on unbound keys (#178547)
default: