diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2012-08-24 14:24:12 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-28 00:10:45 +0200 |
commit | 62b0f41ae0c2971db5d6e53972d746b0a865a736 (patch) | |
tree | 07f0acf34fda81e7fbbb5b4244d61a0a82cea8ca /qmake/option.cpp | |
parent | 81b275b1dc522246d943072fc587fbc3ce47483f (diff) | |
download | qtbase-62b0f41ae0c2971db5d6e53972d746b0a865a736.tar.gz |
Remove automatic drive letter lowercasing from Option::fixString()v5.0.0-beta1
This enforced lowercasing causes subtle errors, like changing the
drive letter case when doing $$files(), which makes it difficult
to do any string matching against the result later.
Task-number: QTBUG-26985
Change-Id: I4973e3ac3e851e24af944295edf290cc98f02fb6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'qmake/option.cpp')
-rw-r--r-- | qmake/option.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qmake/option.cpp b/qmake/option.cpp index 24c3fe53a8..7f0b4aab3b 100644 --- a/qmake/option.cpp +++ b/qmake/option.cpp @@ -594,9 +594,6 @@ Option::fixString(QString string, uchar flags) string = QDir::cleanPath(string); } - if(string.length() > 2 && string[0].isLetter() && string[1] == QLatin1Char(':')) - string[0] = string[0].toLower(); - bool localSep = (flags & Option::FixPathToLocalSeparators) != 0; bool targetSep = (flags & Option::FixPathToTargetSeparators) != 0; bool normalSep = (flags & Option::FixPathToNormalSeparators) != 0; |