You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/mageia/dependencies/qt3/fix-im-crash-on-exit.diff

16 lines
436 B

--- 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