diff options
| author | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-11-14 23:30:26 +0300 |
|---|---|---|
| committer | Vladimir Belyavsky <belyavskyv@gmail.com> | 2023-11-28 08:43:58 +0000 |
| commit | f8b6cdf63400103a6ca53c19bb845577e94b41be (patch) | |
| tree | 8b1458dd88de605ab710a541dfd2c7f07247c930 /examples/qmlcompiler/tutorials | |
| parent | 2bc7d894a7e7380270f057433e7ebefa32edbed3 (diff) | |
SignalSpy: fix potential issues on disconnecting a signal
In 2e7d4ecdc59942b484159ca827f5d5dbc8787a1b and
b19ebe1d23e1f2fd334cef4ec2731ab5cc69dbd7 we added support for cases
where a signal and a property name of an object are the same, like
"pressed" for MouseArea or "opened" for Popup.
But this was missed in fd7459a60c3b396984c948f244ec0996fba56837,
which caused warnings like "SignalSpy.qml:55: TypeError: Property
'disconnect' of object true is not a function" in various tests.
So, fix this and avoid the code duplication as much as possible.
Task-number: QTBUG-118163
Pick-to: 6.6 6.5 6.2
Change-Id: Ic6dc3ffeaf470e40cd14a0800f32212a0c1defa9
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples/qmlcompiler/tutorials')
0 files changed, 0 insertions, 0 deletions
