diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-07-15 16:51:41 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-07-18 09:53:53 +0000 |
commit | a5b14886968ad258921aeb719710744d99d0a464 (patch) | |
tree | fe547c96adba629ad2892aa109762f5f91855ca6 /examples | |
parent | 11933cbeca4ce1cd47e790644dc522db227d4b8e (diff) |
ToolTip: don't leak memory if attached to a non-Item
Previously, it was casting the attachee object to an item and passing it as
a parent to the QObject constructor. When attached to a non-Item, it passed
a null pointer as a parent.
Change-Id: I45933e39e3080ab8e010fa3f7257fdffce4db685
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions