summaryrefslogtreecommitdiffstats
path: root/mageia/dependencies/qt3/fix-im-crash-on-exit.diff
diff options
context:
space:
mode:
Diffstat (limited to 'mageia/dependencies/qt3/fix-im-crash-on-exit.diff')
-rw-r--r--mageia/dependencies/qt3/fix-im-crash-on-exit.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/mageia/dependencies/qt3/fix-im-crash-on-exit.diff b/mageia/dependencies/qt3/fix-im-crash-on-exit.diff
new file mode 100644
index 000000000..1a37cddb3
--- /dev/null
+++ b/mageia/dependencies/qt3/fix-im-crash-on-exit.diff
@@ -0,0 +1,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