diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-04-09 07:46:46 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-04-11 20:59:59 +0200 |
| commit | 5d2164382cfaa6458731714e335b56002f865a33 (patch) | |
| tree | 93ee0bd930118d8d9b89f53a2c05977e923a6389 /src/corelib/kernel/qmetaobject.cpp | |
| parent | df0885dc6aafdd29bad5057168e006b2e9b90fb8 (diff) | |
QEventStorage: fix comment about slicing
QEventStorage<E> will slice if you call store(e) where typeid(e) !=
typeid(E). But if they are the same, no slicing occurs.
So change the code comment from "always slices" to "may slice".
Amends dd264cc9c00e09eb995f1c6f9b1fd651f1d4b2f4.
Pick-to: 6.9
Task-number: QTBUG-99563
Task-number: QTBUG-133321
Change-Id: Ic69d2d3e6b5491c2d3e61d8da131f4bda628fe95
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
0 files changed, 0 insertions, 0 deletions
