diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-02-27 16:32:33 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2015-03-05 08:15:15 +0000 |
commit | 7f5b94b473cd19217127a69c0b8995e00b023173 (patch) | |
tree | 4fc26a47f9e46136ced6ab589fadc9b35443e023 /src/gui/kernel/qplatformtheme.cpp | |
parent | 212285639d748c7def8648f89b8c1c21c5f481e6 (diff) |
Fix shortcut overriding.
Moved to processKeyEvents() on all platforms except OS X.
Previously QWindowSystemInterface::tryHandleShortcutEvent() was called
from inside QWindowSystemInterface, this is considered unsafe as it
ends up calling sendEvent(). On some platforms the call might come from
a different thread then the receiver and cause an assert.
Task-number: QTBUG-44712
Change-Id: Ie80c698f63b9c3d9f52aa94380e539a84caea912
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qplatformtheme.cpp')
0 files changed, 0 insertions, 0 deletions