diff options
| author | Jøger Hansegård <joger.hansegard@qt.io> | 2024-06-27 16:46:51 +0200 |
|---|---|---|
| committer | Jøger Hansegård <joger.hansegard@qt.io> | 2024-07-01 22:16:58 +0200 |
| commit | 717580c1985dd0804363bafb8822f82dacfb3f90 (patch) | |
| tree | ee31bdb7e11a46dfa2274b0804c65b096d649004 /src/widgets/kernel/qwidget.cpp | |
| parent | 93686386c078e2be03fb8bc42dee60a9e36fc23f (diff) | |
Simplify VARIANT handling using a QComVariant RAII wrapper
The QComVariant RAII wrapper automates lifetime management of VARIANT
structures and elements that it contains. For example, it will
call IUnknown::AddRef if a COM interface is assigned to it. It will also
clear all held resources at destruction.
Task-number: QTBUG-126530
Pick-to: 6.8
Change-Id: I543d236293d25cbc70ff25046e553351eccfb850
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
0 files changed, 0 insertions, 0 deletions
