diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2021-10-22 09:47:38 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2021-10-26 18:28:04 +0200 |
commit | f670e483c15c8b27db2bf40eadce86d3f735dc46 (patch) | |
tree | d9194cc4505174d084050ac365722f3c8914cdc9 /src/corelib | |
parent | bb220f2d99261eaa7c5021988a9443735ed2a93d (diff) |
QNI: refactor to avoid tiny lambda slot objects
by just adding the parameter to the signal there's no longer a need for
the tiny lambdas that just call a getter.
Originally the idea was that, since the emission from Backend to the
'frontend' may be a queued emission, I wanted to use the getter so that
the data emitted from the frontend was as up-to-date as possible.
But on one hand, that's not really a big problem, and at the same time
it would then emit the signal twice with the same value.
Change-Id: Ief0959f8cbf06faf1b02a1ed4ae777181ff4f059
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions