diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2024-04-04 20:43:54 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2024-04-04 23:15:46 +0000 |
commit | 76928231ffa4d6394ace71aa2573293fffac954c (patch) | |
tree | d90ae1bff30fdefa703ae86a29f3789ae34fe701 /dependencies.yaml | |
parent | 23982743174604be213384afeb3a5b10a0af78e3 (diff) |
QMouseHandler: fix QObject::connect() call
This connection was created in QMouseHandlerPrivate's constructor,
however at that point the `q_ptr` hadn't been initialized yet, so the
connection's 3rd parameter was null, which produced a runtime warning.
Move the initialization, and other relevant code, of the QTimer member
to init().
Drive-by change: use chrono literals; add missing include.
Amends 7671478aad2d2a48148852e9ce5a5b598a59f23d.
Pick-to: 6.7
Change-Id: I305e740617e83cf8120ffc25c67004a7dbcc1df8
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'dependencies.yaml')
0 files changed, 0 insertions, 0 deletions