summaryrefslogtreecommitdiffstats
path: root/demos/embedded
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2010-02-05 20:31:10 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2010-02-05 20:31:10 (GMT)
commit3b7164b3188e9382510bef2211e82ef777faa75c (patch)
tree708c3c327a7467a292ed37702efdee6c8cb1486e /demos/embedded
parent1a4669544e501b612ef277b614246c0586e44e2b (diff)
downloadQt-3b7164b3188e9382510bef2211e82ef777faa75c.zip
Qt-3b7164b3188e9382510bef2211e82ef777faa75c.tar.gz
Qt-3b7164b3188e9382510bef2211e82ef777faa75c.tar.bz2
Fixed casual crash in initializeDb (Symbian)
dynamic_cast should be used carefully with rvct before version 4. We found that out after the a dynamic (down)-cast from CFont* to CFbsFont* in QtGui suddenly failed. We test for (TypeUid() == KCFbsFontUid), before doing the cast. So, a static_cast is safe in this case. Also the other two dynamic_casts in qfontdatabase_s60.cpp were changed to static_cast. http://bugreports.qt.nokia.com/browse/QTBUG-7963 Task-number: QTBUG-7963 Reviewed-by: lars modified: src/gui/text/qfontdatabase_s60.cpp
Diffstat (limited to 'demos/embedded')
0 files changed, 0 insertions, 0 deletions