blob: 1a37cddb322f6a9eb8355cfff274db631a5c2bf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- src/kernel/qwidget_x11.cpp 2006-02-17 15:45:54.000000000 -0500
+++ src/kernel/qwidget_x11.cpp.orig 2006-02-17 16:27:07.000000000 -0500
@@ -2753,10 +2753,8 @@
*/
void QWidget::createInputContext()
{
-#if !defined(QT_NO_IM_EXTENSIONS)
- if( !isInputMethodEnabled() )
- return;
-#endif
+ if( !isInputMethodEnabled() || QApplication::closingDown() )
+ return;
QWidget *icWidget = icHolderWidget();
#ifndef QT_NO_IM
|