diff options
author | Pierre Rossi <pierre.rossi@nokia.com> | 2009-07-10 17:15:25 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2009-07-10 17:40:42 (GMT) |
commit | baacf493e1c968ee2ffa59a8b87754388cb7a61a (patch) | |
tree | 2f411662090de28b4bb9563190f364ec570e18b5 /src/gui/kernel/qapplication.cpp | |
parent | 593f8a322895dc011d88fbe112987f2189d43724 (diff) | |
download | Qt-baacf493e1c968ee2ffa59a8b87754388cb7a61a.zip Qt-baacf493e1c968ee2ffa59a8b87754388cb7a61a.tar.gz Qt-baacf493e1c968ee2ffa59a8b87754388cb7a61a.tar.bz2 |
Fixed a crash with input methods
The inputContext's focusWidget was not reset when disabling input
methods.
Thanks to Benjamin P.
Task-number: 257832
Reviewed-by: Denis
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index c6af728..114ebb2 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -126,7 +126,7 @@ int QApplicationPrivate::app_compile_version = 0x040000; //we don't know exactly QApplication::Type qt_appType=QApplication::Tty; QApplicationPrivate *QApplicationPrivate::self = 0; -QInputContext *QApplicationPrivate::inputContext; +QInputContext *QApplicationPrivate::inputContext = 0; bool QApplicationPrivate::quitOnLastWindowClosed = true; |