diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2023-03-21 21:38:11 -1000 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2023-03-23 13:22:23 -1000 |
commit | 4d90c4e74a6aa34d5aabfb91ec304da1f02df3e3 (patch) | |
tree | f0b0e786e7157d5677b10f909da7074a1f173696 /src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.h | |
parent | f7167ae82fd74d69f2b138fb60a36ed7f863b380 (diff) |
QTimer: fix new-style slot invocation for receiver in another thread
For single-shot timers, at least. QSingleShotTimer had either an
optimization or the only way to make new-style slot invocations by
storing the QSlotObject pointer and calling it directly. Instead of
doing that, let's just actually connect and let QObject handle the
actual delivery.
[ChangeLog][QtCore][QTimer] Fixed a bug that caused slots connected to
single-slot timers using the new-style connection mechanism to be
delivered in the wrong thread.
Fixes: QTBUG-112162
Pick-to: 5.15 6.2 6.5
Change-Id: Idd5e1bb52be047d7b4fffffd174eadb227ab65ee
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/plugins/platforms/windows/uiautomation/qwindowsuiavalueprovider.h')
0 files changed, 0 insertions, 0 deletions