From 8b2b0bfe23df645bac1a3ce48102f52d57a9b3a5 Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Sun, 28 Dec 2008 13:07:54 +0000 Subject: [PATCH] Prevent the present windows filter box from appearing when an unbound key on the keyboard is pressed. Patch by Jacopo De Simoi. This should really be done somewhere further up the chain but as it's a temporary workaround anyway I guess it doesn't matter. BUG: 178547 svn path=/trunk/KDE/kdebase/workspace/; revision=902453 --- effects/presentwindows.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 114c3b2159..5592c6ddcb 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -368,6 +368,8 @@ void PresentWindowsEffect::grabbedKeyboardEvent( QKeyEvent *e ) return; case Qt::Key_Tab: return; // Nothing at the moment + case 0: + return; // HACK: Workaround for Qt bug on unbound keys (#178547) default: if( !e->text().isEmpty() ) {