summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.cpp
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-02-25 16:30:48 +0100
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-02-25 16:32:34 +0100
commit745889c54b5c1e1df667ced9ba879607dfea6156 (patch)
tree5351155cccbca02355f75fadb2e59b2e0740f9b2 /src/corelib/io/qurl.cpp
parent4b119820089b35aaba061936eded882e0ac96a97 (diff)
Cleaning of the patch to QTBUG-3168
Removing trailing whitespace from qurl.cpp Removing a debug() output from the test. Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'src/corelib/io/qurl.cpp')
-rw-r--r--src/corelib/io/qurl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 05d043e239..ffe8d06ba3 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -441,14 +441,14 @@ static bool QT_FASTCALL _scheme(const char **ptr, QUrlParseData *parseData)
{
bool first = true;
bool isSchemeValid = true;
-
+
parseData->scheme = *ptr;
for (;;) {
char ch = **ptr;
if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')) {
;
} else if ((ch >= '0' && ch <= '9') || ch == '+' || ch == '-' || ch == '.') {
- if (first)
+ if (first)
isSchemeValid = false;
} else {
break;