diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-09-04 23:49:09 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-09-13 10:47:27 +0200 |
commit | 29e40c1f6f630803747ca615f99d2813df57fc52 (patch) | |
tree | 5246dbe6e1bf387cc4b83faec0d88294db27fe02 /src/network | |
parent | 6eaa1d07e1e86f1535b8294645f75972dc69184b (diff) |
QWinRTUiaValueProvider: optimize SetValue()
The code followed a pattern used elsewhere whereby a return value is
transmitted out of a task executed on a separate thread by way of
shared ownership of the value using QSharedPointer.
In the present case, however, the pattern was applied to an argument
of the task, not its return value, so remove all the sharing machinery
and just copy the argument (a QString) into the task (a lambda).
Change-Id: Ib997322ed70201781b6012c7e4f945b124b05868
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions