CVS commit by staniek: KAccelPrivate - KAccelPrivate::eventFilter() only makes sense if KAccelEventHandler is working (i.e. for X11). This fixes problems when having e.g. QLineEdit focused we're pressing, say, Alt+1 keys (defined as an action shortcut) : either the action was executed and '1' characted was inserted. Now only the action is executed. big thanks for dfaure for his help and incredible patience :) M +2 -0 kaccel.cpp 1.153 --- kdelibs/kdecore/kaccel.cpp #1.152:1.153 @@ -169,6 +169,8 @@ KAccelPrivate::KAccelPrivate( KAccel* pP connect( (QAccel*)m_pAccel, SIGNAL(activated(int)), this, SLOT(slotKeyPressed(int)) ); +#ifdef Q_WS_X11 //only makes sense if KAccelEventHandler is working if( m_pWatch ) m_pWatch->installEventFilter( this ); +#endif KAccelEventHandler::self(); }