diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-16 10:34:55 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-16 10:34:55 -0500 |
commit | 4f8eb0410d666d41ccbc39b2bf5dea336af5c26c (patch) | |
tree | f5b12b414c46a9ecfa90b389304c7b29526f41fd /src/kernel/qapplication_x11.cpp | |
parent | 1faf4cf70f8ed79f83bb4e8c1ccbb2c52b1aec44 (diff) | |
download | qt3-4f8eb0410d666d41ccbc39b2bf5dea336af5c26c.tar.gz qt3-4f8eb0410d666d41ccbc39b2bf5dea336af5c26c.zip |
Add WAR_SetDefault and friends
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index 6a68604..2873b9e 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -5184,8 +5184,6 @@ bool QETWidget::translateKeyEventInternal( const XEvent *event, int& count, qAddPostRoutine( deleteKeyDicts ); } - QWidget* tlw = topLevelWidget(); - XKeyEvent xkeyevent = event->xkey; // save the modifier state, we will use the keystate uint later by passing @@ -5211,7 +5209,6 @@ bool QETWidget::translateKeyEventInternal( const XEvent *event, int& count, // Implementation for X11R5 and newer, using XIM int keycode = event->xkey.keycode; - Status status; if ( type == QEvent::KeyPress ) { bool mb=FALSE; @@ -5295,7 +5292,6 @@ bool QETWidget::translateKeyEventInternal( const XEvent *event, int& count, // and independent of whether char is signed or not. textDict->replace( keycode, (void*)(long)(256+ascii) ); } - tlw = 0; } else { key = (int)(long)keyDict->find( keycode ); if ( key ) |