From 62b0f41ae0c2971db5d6e53972d746b0a865a736 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 24 Aug 2012 14:24:12 +0300 Subject: Remove automatic drive letter lowercasing from Option::fixString() 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 --- qmake/option.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'qmake/option.cpp') 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; -- cgit v1.2.3