fixup after last commit

This commit is contained in:
Ivailo Monev 2014-11-27 22:02:11 +00:00
parent a017a98f9f
commit 1685cda436

View file

@ -107,11 +107,7 @@ bool KGlobalAccelImpl::grabKey( int keyQt, bool grab )
return false; return false;
} }
#ifdef HAVE_XKB
keyCodeX = XkbKeycodeToKeysym( QX11Info::display(), keySymX, 0, 0 );
#else
keyCodeX = XKeysymToKeycode( QX11Info::display(), keySymX ); keyCodeX = XKeysymToKeycode( QX11Info::display(), keySymX );
#endif
// Check if shift needs to be added to the grab since KKeySequenceWidget // Check if shift needs to be added to the grab since KKeySequenceWidget
// can remove shift for some keys. (all the %&* and such) // can remove shift for some keys. (all the %&* and such)