summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qprogressdialog.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-05-14 16:30:57 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-05-18 14:24:02 (GMT)
commitd76c5fb7feda66621b435263353f49e9b4b34308 (patch)
treeda4b27c60127d4386abad70c7abc6c7d61539c04 /src/gui/dialogs/qprogressdialog.h
parentd13162dd4695274dc4bdb286ce85bf198391d94b (diff)
downloadQt-d76c5fb7feda66621b435263353f49e9b4b34308.zip
Qt-d76c5fb7feda66621b435263353f49e9b4b34308.tar.gz
Qt-d76c5fb7feda66621b435263353f49e9b4b34308.tar.bz2
Fix handling of dynamic casts in QSharedPointer.
It's wrong to assume that static_cast<> is allowed everywhere where dynamic_cast<> is allowed. For example, if class C derives from both A and B, then you can dynamic_cast<B *>(ptr_to_A), but you can't static_cast. So introduce a helper for dynamic casts that doesn't do static_cast. Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/gui/dialogs/qprogressdialog.h')
0 files changed, 0 insertions, 0 deletions