diff options
| author | Paul Wicking <paul.wicking@qt.io> | 2020-03-06 07:29:12 +0100 |
|---|---|---|
| committer | Paul Wicking <paul.wicking@qt.io> | 2020-03-06 08:12:52 +0100 |
| commit | a2446c0eede445eb40905487b1ba7c689aa8baef (patch) | |
| tree | 8e0ccfa61d7f8a96b4883e4b55f53a0d9bb0c071 /src/corelib/io/qresource.cpp | |
| parent | c3ae30085e4047ee7d5a945c36e2055c2de5197d (diff) | |
Doc: Let SQL Drill Down example show correct use of qgraphicsitem_cast
For qgraphicsitem_cast to work correctly with custom items, one must
reimplement the type() function for each custom QGraphicsItem subclass.
Do that in the example code.
Fixes: QTBUG-7357
Change-Id: Ibf221817908355f0347cddfc46747b6955958f5f
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/corelib/io/qresource.cpp')
0 files changed, 0 insertions, 0 deletions
