diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-12-05 17:32:54 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-12-15 06:16:20 +0100 |
| commit | 252efacb0604675044f6022fbcbbc0f14f9eaa55 (patch) | |
| tree | 3797e1be89411f15e72aa8a4f3cd08df9ad92f34 /doc/src/tutorials/widgets-tutorial.qdoc | |
| parent | fb9f4444fa716f6aa93d3d13d3037b30c005d7a7 (diff) | |
Use qobject_cast<> or the comparision of the QTipLabel staticMetaObject
pointer to determine if the object is a QTipLabel instead relying on a
string compare. This will give us a compile time error when the name of
this internal class changes or goes away.
Pick-to: 6.11 6.10 6.8
Change-Id: Ie54342bd87fcb6688f082268464bfda5134de04c
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'doc/src/tutorials/widgets-tutorial.qdoc')
0 files changed, 0 insertions, 0 deletions
