diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:52:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:57:24 (GMT) |
commit | 4a9541d1605333e70b5ab9193d65cb300d8ef18e (patch) | |
tree | 2281e5242581485a4b3d61a8f0b3079f5dd30758 /src/configimpl.l | |
parent | c35960af3b0b867cbcd31141e94fe1573ad2bcc0 (diff) | |
download | Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.zip Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.gz Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.bz2 |
Reduce the use of QString in favor of the more efficient QCString
Diffstat (limited to 'src/configimpl.l')
-rw-r--r-- | src/configimpl.l | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/configimpl.l b/src/configimpl.l index 7d22859..e657745 100644 --- a/src/configimpl.l +++ b/src/configimpl.l @@ -1290,14 +1290,13 @@ static void cleanUpPaths(QStrList &str) if (fi.exists() && fi.isDir()) { int i = str.at(); - QString p = fi.absFilePath(); - if (p.at(p.length()-1)!='/') - p.append('/'); + QCString p = fi.absFilePath().utf8(); + if (p[p.length()-1]!='/') p+='/'; str.remove(); if (str.at()==i) // did not remove last item - str.insert(i,p.utf8()); + str.insert(i,p); else - str.append(p.utf8()); + str.append(p); } } sfp = str.next(); |