Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > cc8f970be8f3f9d917634bf75d52343e > files > 50

qt3-3.3.4-23mdk.src.rpm

--- qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp--	2003-02-18 09:29:05.000000000 +0100
+++ qt-x11-free-3.1.1/src/kernel/qapplication_x11.cpp	2003-02-18 09:29:52.000000000 +0100
@@ -3054,9 +3054,6 @@ int QApplication::x11ProcessEvent( XEven
 	break;
     }
 
-    if ( qt_x11EventFilter(event) )		// send through app filter
-	return 1;
-
     QETWidget *widget = (QETWidget*)QWidget::find( (WId)event->xany.window );
 
     if ( wPRmapper ) {				// just did a widget reparent?
@@ -3173,6 +3170,9 @@ int QApplication::x11ProcessEvent( XEven
 	return 1;
     }
 
+    if ( qt_x11EventFilter(event) )		// send through app filter
+	return 1;
+
     if ( event->type == MappingNotify ) {	// keyboard mapping changed
 	XRefreshKeyboardMapping( &event->xmapping );
 	return 0;
@@ -4852,7 +4852,7 @@ bool QETWidget::translateKeyEventInterna
 	mapper = QTextCodec::codecForName("UTF-8");
 	}
 // we don't need to find the mapper, we know it is utf-8 -- pablo
-#if 0	
+#if 0
 	// all keysyms smaller than that are actally keys that can be mapped
 	// to unicode chars
 	if ( count == 0 && key < 0xff00 ) {
@@ -4902,7 +4902,7 @@ bool QETWidget::translateKeyEventInterna
 	    mapper = 0;
 	}
 // -- pablo
-#endif	
+#endif
 	if ( count < (int)chars.size()-1 )
 	    chars[count] = '\0';
 	if ( count == 1 ) {