summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-03-10 13:31:57 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-03-11 09:10:18 +0000
commitaad3c089023652844a3898fa0b7cbf1db966ef3c (patch)
tree283a003d15c2e2c2d40a7b1811b1f949d2be2fad /tools
parent8eaddf8343242caa9e9dde562107ece8d0785680 (diff)
Clean up QLibraryInfoPrivate::findConfiguration()
The QFile::exists() check in the end was redundant if one of the !QFile::exists() had returned false before. By always doing the positive check we can get rid of it and also avoid excessive nesting. Also, on OSX the isEmpty() clause probably never evaluated to true, with the effect that qt.conf in an applicationDirPath was never found. Change-Id: I750735741b707d3e98c4bf6c6b9558618e1fcc59 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions