diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-04-16 08:09:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-04-18 11:31:01 +0200 |
commit | d2436f72946950376c6e4aeea1e138f147efd1ad (patch) | |
tree | e339c702f3009d25119af96cf90a88271e3ff36c /src/widgets/styles/qcommonstyle.cpp | |
parent | 3afcfbc400526d84a434b7efb03d3854f6992ef6 (diff) |
QSignalSpy: make verify() methods static
... because they can be. We call them without a value object and while
they don't touch *this, ubsan complained (rightfully):
qsignalspy.h:29:28: runtime error: member call on address 0x7ffdfaab2b20 which does not point to an object of type 'QSignalSpy'
0x7ffdfaab2b20: note: object has invalid vptr
00 00 00 00 00 00 00 00 00 00 00 00 00 2b 00 00 c0 60 00 00 60 14 00 00 60 60 00 00 70 14 00 00
^~~~~~~~~~~~~~~~~~~~~~~
invalid vptr
Amends e68edd6a07adf33db14c2d2f6e4e3785596fa496.
Task-number: QTBUG-123544
Change-Id: I8e9ba3270a35777a704e68130d2f2bccb658a536
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
Diffstat (limited to 'src/widgets/styles/qcommonstyle.cpp')
0 files changed, 0 insertions, 0 deletions