qdoc: Clean path names before using them
authorMartin Smith <martin.smith@nokia.com>
Thu, 12 Jul 2012 08:15:55 +0000 (10:15 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jul 2012 23:51:37 +0000 (01:51 +0200)
commit8ca17ed943424f277d53cadd2e884834fac16b1f
tree339b2a92486e0ca2a4e22bf2bff42d2b736303ca
parent770e1d30a220ec0c03b08bc1db797543f32d2b5a
qdoc: Clean path names before using them

The excludedirs variable doesn't work correctly when its values have
'../' in them. The solution is to use QDir::cleanPath() on each path
name before using it.

Task Nr: QTBUG-26492

Change-Id: I2db74e79cf096c1c75ab5b10877320360c016fc7
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/tools/qdoc/config.cpp
src/tools/qdoc/location.cpp