Don't set platform input context if it's not properly created.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 10 Aug 2011 12:14:22 +0000 (14:14 +0200)
committerMatthew Cattell <matthew.cattell@nokia.com>
Tue, 16 Aug 2011 13:38:48 +0000 (15:38 +0200)
commit06f6b71ba43e8302d61d2c3cb7118d9dbf7a3c98
treee907e3c7d90ccee7fb369f2de5f11dbabfb225e3
parent1ff94e314835682b178eac98c3c1be983e71c4ca
Don't set platform input context if it's not properly created.

Prevent xcb applications from failing to launch when IBus is not
initialized correctly.

Change-Id: I8425403e02d0eb5401f8d8bb0d012b53ab9400d9
Reviewed-on: http://codereview.qt.nokia.com/3044
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
src/platformsupport/inputmethods/ibus/qibusplatforminputcontext.cpp
src/platformsupport/inputmethods/ibus/qibusplatforminputcontext.h
src/plugins/platforms/xcb/qxcbintegration.cpp
src/plugins/platforms/xcb/qxcbkeyboard.cpp