Debugger[CDB]: Use file normalization function from utils.

Remove complicated/expensive function in dbgwinutils
in favour of the utils one (improved to upper case
the drive letter) as it is sufficient now with
the improved checking in editor manager/location mark.
This commit is contained in:
Friedemann Kleint
2011-04-28 11:11:34 +02:00
parent 5ee1ee0b9e
commit c5a40e9e63
4 changed files with 4 additions and 56 deletions

View File

@@ -173,6 +173,9 @@ QTCREATOR_UTILS_EXPORT QString normalizePathName(const QString &name)
canonicalName = getLongPathName(canonicalName);
if (canonicalName.isEmpty())
return name;
// Upper case drive letter
if (canonicalName.size() > 2 && canonicalName.at(1) == QLatin1Char(':'))
canonicalName[0] = canonicalName.at(0).toUpper();
return canonicalName;
}