17 lines
584 B
Plaintext
17 lines
584 B
Plaintext
$OpenBSD: patch-src_kernel_qwidget_x11_cpp,v 1.7 2007/01/04 18:34:46 espie Exp $
|
|
--- src/kernel/qwidget_x11.cpp.orig Tue Jan 2 15:36:10 2007
|
|
+++ src/kernel/qwidget_x11.cpp Tue Jan 2 15:36:11 2007
|
|
@@ -2699,11 +2699,10 @@ QInputContext *QWidget::getInputContext(
|
|
{
|
|
QInputContext *qic = 0;
|
|
|
|
-#if !defined(QT_NO_IM_EXTENSIONS)
|
|
if ( isInputMethodEnabled() ) {
|
|
+#if !defined(QT_NO_IM_EXTENSIONS)
|
|
qic = icHolderWidget()->ic;
|
|
#else
|
|
- {
|
|
// icHolderWidget is always topLevelWidget
|
|
QTLWExtra *topdata = icHolderWidget()->topData();
|
|
qic = (QInputContext *)topdata->xic;
|