summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-24 19:44:22 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-25 19:29:05 (GMT)
commit9e0f4a89564997856c784aed6611b91a9f9f184a (patch)
treed05b90d0036fe7f97e9827bb932ad0adff9ebaa1 /qmake/project.cpp
parent7052bcc0c6da28f9554f560fef36a5ae3d1e26fd (diff)
downloadQt-9e0f4a89564997856c784aed6611b91a9f9f184a.zip
Qt-9e0f4a89564997856c784aed6611b91a9f9f184a.tar.gz
Qt-9e0f4a89564997856c784aed6611b91a9f9f184a.tar.bz2
remove the somewhat bizarre unquoting of the last argument in split_arg_list()
the last argument would be unquoted, but only if currently in a quote. that means that an invalid construct like "foo"" would be reduced to another invalid construct foo". this doesn't sound overly useful ... Reviewed-by: mariusSO
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp
index cbe3a94..4053b3d 100644
--- a/qmake/project.cpp
+++ b/qmake/project.cpp
@@ -254,11 +254,6 @@ static QStringList split_arg_list(QString params)
while(x && params_data[x-1].unicode() == SPACE)
--x;
QString mid(params_data+last, x-last);
- if(quote) {
- if(mid[0] == quote && mid[(int)mid.length()-1] == quote)
- mid = mid.mid(1, mid.length()-2);
- quote = 0;
- }
args << mid;
break;
}