diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2018-12-05 11:45:36 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2018-12-06 06:30:57 +0000 |
commit | b3b387698e8f685e8bd4f4843a170da40e17249b (patch) | |
tree | a1027fa8a541804d3c54bd95756b270b2848ba52 /tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro | |
parent | 65bea2ce743d628773591793d35f2048fda5820a (diff) |
qnearfieldmanager_emulator: Use Q_GLOBAL_STATIC for tag activator
Using a Q_GLOBAL_STATIC here fixes an issue in the auto tests for winrt.
If we use a static object that is created before the QCoreapplication has
been created, TagActivator's timer will complain, that it was not created
inside a QThread.
By postponing the creation until first usage we can avoid that problem.
Change-Id: I9beca89930bfca2c71e0fce3d9c000dfcb71f431
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/auto/qnearfieldtagtype2/qnearfieldtagtype2.pro')
0 files changed, 0 insertions, 0 deletions