diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2025-07-10 10:44:00 -0700 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-08-05 13:52:35 -0700 |
| commit | e551a80b0d9ef33495f50bfd91ff7b921348956b (patch) | |
| tree | 2ef8b92ebc50bdd364a5273effb0d9d6038488ca /src/widgets/doc/snippets/widgets-tutorial/template.cpp | |
| parent | ebfcc7e74fd4391a63dc00e99e6ab67aa66aacea (diff) | |
QHostInfo: simplify call to QAbstractEventDispatcher::instance()
We don't need the thread parameter, because nullptr implies "current
thread". Instead, let QAbstractEventDispatcher get the thread-local
variable on its own and benefit from any LTO code generation QtCore may
have had.
Pick-to: 6.10
Change-Id: Ia2f962c3886c8901a3a5fffde336c1505b68e185
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/widgets-tutorial/template.cpp')
0 files changed, 0 insertions, 0 deletions
