summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-08-31 11:17:15 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-09-07 12:17:11 (GMT)
commit3505c6cdcdfac5a6d0f4b94dbdbcc8ad72f8048a (patch)
treec2c93f0df90882122f7fde5ac07683f7f7a8b4f0 /src/gui/text
parentb0de175aab06092932077eb1c5fb3f89691b6014 (diff)
downloadQt-3505c6cdcdfac5a6d0f4b94dbdbcc8ad72f8048a.zip
Qt-3505c6cdcdfac5a6d0f4b94dbdbcc8ad72f8048a.tar.gz
Qt-3505c6cdcdfac5a6d0f4b94dbdbcc8ad72f8048a.tar.bz2
QDir: Removed checks for existance of fileEngine
Directly or indirectly, all instances of QDir call QDirPrivate::setPath, which allocates a file engine and dereferences it. Any failures there should already lead to a crash or a bad_alloc exception being thrown in case of failure. Given that, QDir may be (and was) broken when compiling Qt with QT_NO_FSFILEENGINE, if no custom file engine and handler are provided. This being the case, it's pointless to check fileEngine for null all over the place. This simplifies the code and should allow for easier transition to file-engine-less implementation. Reviewed-by: Thomas Zander
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions