summaryrefslogtreecommitdiffstats
path: root/src/tools/qdoc/location.cpp
diff options
context:
space:
mode:
authorMartin Smith <[email protected]>2012-07-12 10:15:55 +0200
committerQt by Nokia <[email protected]>2012-07-13 01:51:37 +0200
commit8ca17ed943424f277d53cadd2e884834fac16b1f (patch)
tree339b2a92486e0ca2a4e22bf2bff42d2b736303ca /src/tools/qdoc/location.cpp
parent770e1d30a220ec0c03b08bc1db797543f32d2b5a (diff)
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 <[email protected]>
Diffstat (limited to 'src/tools/qdoc/location.cpp')
-rw-r--r--src/tools/qdoc/location.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qdoc/location.cpp b/src/tools/qdoc/location.cpp
index 9cea232555d..630bf64e538 100644
--- a/src/tools/qdoc/location.cpp
+++ b/src/tools/qdoc/location.cpp
@@ -60,7 +60,7 @@ QRegExp *Location::spuriousRegExp = 0;
/*!
\class Location
- \brief The Location class keeps track of where we are in a file.
+ \brief The Location class provides a way to mark a location in a file.
It maintains a stack of file positions. A file position
consists of the file path, line number, and column number.