Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 36960bf914a01a197ea4c7c01be1f248 > files > 31

qt3-3.3.8-4mdv2007.1.src.rpm

--- qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp--	2007-03-21 16:05:17.000000000 +0100
+++ qt-x11-free-3.3.8/src/kernel/qapplication_x11.cpp	2007-03-21 16:05:36.000000000 +0100
@@ -3296,11 +3296,7 @@
     // filtering opportunity first to ensure all input methods work
     // properly regardless of application design.
 
-#ifndef QT_NO_IM_EXTENSIONS
     if( keywidget && keywidget->isEnabled() && keywidget->isInputMethodEnabled() ) {
-#else
-    if( keywidget && keywidget->isEnabled() ) {
-#endif
 	if( ( event->type==XKeyPress || event->type==XKeyRelease ) &&
 	    sm_blockUserInput ) // block user interaction during session management
 	    return TRUE;