diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2019-03-15 11:56:01 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2019-04-26 19:03:58 +0000 |
commit | d6e65ecac5852ed09fbf580b3fab5b21125dfd69 (patch) | |
tree | e5816511eb100b30a3f603f2341d8b5e5de082b3 /qmake/option.cpp | |
parent | 902ae438aa7950fa6fec4823f80974e8bc8be8be (diff) |
platforminputcontexts: future-proof compose plugin
If this plugin is loaded at some later point during application
run-time, the focus object might be nullptr. We can avoid that by
using qApp->focusObject(), when m_focusObject==nullptr;
Task-number: QTBUG-74465
Change-Id: I0d82410ed557ea1a8fde28a1807f790854951cda
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'qmake/option.cpp')
0 files changed, 0 insertions, 0 deletions