14 lines
493 B
Plaintext
14 lines
493 B
Plaintext
$OpenBSD: patch-src_inputmethod_qinputcontextfactory_cpp,v 1.2 2006/03/04 10:07:10 espie Exp $
|
|
--- src/inputmethod/qinputcontextfactory.cpp.orig Mon Feb 27 12:38:25 2006
|
|
+++ src/inputmethod/qinputcontextfactory.cpp Mon Feb 27 12:47:56 2006
|
|
@@ -102,7 +102,8 @@ QInputContext *QInputContextFactory::cre
|
|
if ( iface ) {
|
|
ret = iface->create( inputcontext );
|
|
#ifdef Q_WS_X11
|
|
- ret->setHolderWidget( widget );
|
|
+ if ( ret )
|
|
+ ret->setHolderWidget( widget );
|
|
#endif
|
|
}
|
|
#endif
|