diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-04-08 07:39:41 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-04-13 09:24:13 +0000 |
commit | 3b98467ebe0e447d8343457310827e18706e9550 (patch) | |
tree | b7e347c9fea779f5b6ec1e33351d591f0a2c873a /tests | |
parent | 0f9ca217d0f479756e50459473cad7371f29047c (diff) |
winrt: Try to acquire CoreDispatcher from multiple sources
When the system launches the application via different activation mode
(eg. app registered for sharing) no main window will be created. Hence
accessing the core window will return null and event dispatcher
initialization will fail.
In that case iterate through all available views and try to get access
to their dispatcher to be able to invoke code on the xaml thread.
Task-number: QTBUG-49276
Change-Id: I8c78baa27747a0465ff7a1b2ead6c9e03f0e05a8
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions